loplugin:unusedmethods

Check existing ones that can be removed

Change-Id: I6ee6fc1772c620ac5d12fea915681b094b7c3bfd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204583
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli
2026-04-30 08:54:45 +02:00
parent 40eed4ae1b
commit cfd3309a5d
98 changed files with 1 additions and 991 deletions
-1
View File
@@ -402,7 +402,6 @@ public:
virtual bool HasActiveEditor () const override;
void UpdateModule ();
const OUString & GetEditorColorScheme() { return m_sWinColorScheme; }
void SetEditorColorScheme(const OUString& rColorScheme);
};
-26
View File
@@ -71,32 +71,6 @@ namespace basegfx
}
}
double snapToRange(double v, double fLow, double fHigh)
{
if(fTools::equal(fLow, fHigh))
{
// with no range all snaps to range bound
return 0.0;
}
else
{
if(fLow > fHigh)
{
// correct range order. Evtl. assert this (?)
std::swap(fLow, fHigh);
}
if(v < fLow || v > fHigh)
{
return snapToZeroRange(v - fLow, fHigh - fLow) + fLow;
}
else
{
return v;
}
}
}
double normalizeToRange(double v, const double fRange)
{
if(fRange <= 0.0)
-7
View File
@@ -45,13 +45,6 @@ namespace basegfx
return *this;
}
const B3DRange& B3DRange::getUnitB3DRange()
{
static const B3DRange aUnitB3DRange(0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
return aUnitB3DRange;
}
B3DRange operator*( const ::basegfx::B3DHomMatrix& rMat, const B3DRange& rB3DRange )
{
B3DRange aRes( rB3DRange );
-2
View File
@@ -69,8 +69,6 @@ public:
rtl::Reference<::chart::ChartModel> const& xChartDoc,
css::uno::Reference<css::uno::XComponentContext> const& rComponentContext);
const std::shared_ptr<DataTableView> & getDataTableView() { return m_pDataTableView; }
protected: //methods
static size_t getIndexOfLongestLabel( const css::uno::Sequence<OUString>& rLabels );
void removeTextShapesFromTicks();
-240
View File
@@ -1,5 +1,3 @@
basctl/source/basicide/baside2.hxx:404
const rtl::OUString & basctl::ModulWindow::GetEditorColorScheme()
basegfx/source/range/b2drangeclipper.cxx:686
type-parameter-?-? basegfx::(anonymous namespace)::eraseFromList(type-parameter-?-? &,const type-parameter-?-? &)
basic/source/inc/buffer.hxx:40
@@ -40,8 +38,6 @@ canvas/source/vcl/canvasfont.hxx:76
const struct com::sun::star::geometry::Matrix2D & vclcanvas::CanvasFont::getFontMatrix() const
canvas/source/vcl/impltools.hxx:83
vclcanvastools::LocalGuard::LocalGuard()
chart2/source/view/axes/VAxisBase.hxx:73
const std::shared_ptr<chart::DataTableView> & chart::VAxisBase::getDataTableView()
connectivity/inc/sdbcx/VGroup.hxx:61
connectivity::sdbcx::OGroup::OGroup(_Bool)
connectivity/inc/sdbcx/VGroup.hxx:62
@@ -168,22 +164,6 @@ drawinglayer/inc/texture/texture.hxx:39
_Bool drawinglayer::texture::GeoTexSvx::operator!=(const drawinglayer::texture::GeoTexSvx &) const
drawinglayer/source/primitive2d/GlowSoftEgdeShadowTools.hxx:37
drawinglayer::geometry::ViewInformation2D drawinglayer::primitive2d::expandB2DRangeAtViewInformation2D(const drawinglayer::geometry::ViewInformation2D &,double)
drawinglayer/source/tools/emfpstringformat.hxx:93
_Bool emfplushelper::EMFPStringFormat::NoFitBlackBox() const
drawinglayer/source/tools/emfpstringformat.hxx:94
_Bool emfplushelper::EMFPStringFormat::DisplayFormatControl() const
drawinglayer/source/tools/emfpstringformat.hxx:95
_Bool emfplushelper::EMFPStringFormat::NoFontFallback() const
drawinglayer/source/tools/emfpstringformat.hxx:96
_Bool emfplushelper::EMFPStringFormat::MeasureTrailingSpaces() const
drawinglayer/source/tools/emfpstringformat.hxx:97
_Bool emfplushelper::EMFPStringFormat::NoWrap() const
drawinglayer/source/tools/emfpstringformat.hxx:98
_Bool emfplushelper::EMFPStringFormat::LineLimit() const
drawinglayer/source/tools/emfpstringformat.hxx:99
_Bool emfplushelper::EMFPStringFormat::NoClip() const
drawinglayer/source/tools/emfpstringformat.hxx:100
_Bool emfplushelper::EMFPStringFormat::BypassGDI() const
editeng/inc/EditLine.hxx:105
_Bool EditLine::IsInvalid() const
editeng/inc/edtspell.hxx:99
@@ -202,10 +182,6 @@ editeng/inc/TextPortionList.hxx:66
__gnu_debug::_Safe_iterator<__gnu_cxx::__normal_iterator<const std::unique_ptr<TextPortion> *, std::__cxx1998::vector<std::unique_ptr<TextPortion> > >, std::vector<std::unique_ptr<TextPortion> > > TextPortionList::cend() const
editeng/source/editeng/impedit.hxx:231
tools::Rectangle LOKSpecialPositioning::GetWindowPos(const tools::Rectangle &,enum MapUnit) const
editeng/source/editeng/impedit.hxx:806
double ImpEditEngine::scaleXFontValue(long) const
editeng/source/editeng/impedit.hxx:814
double ImpEditEngine::scaleYFontValue(unsigned short) const
embeddedobj/source/msole/olecomponent.hxx:72
void OleComponent::InitializeObject_Impl()
embeddedobj/source/msole/olecomponent.hxx:74
@@ -216,8 +192,6 @@ embeddedobj/source/msole/olecomponent.hxx:77
void OleComponent::Dispose()
embeddedobj/source/msole/olecomponent.hxx:81
OleComponent::OleComponent(const com::sun::star::uno::Reference<com::sun::star::uno::XComponentContext> &,OleEmbeddedObject *)
embeddedobj/source/msole/olecomponent.hxx:86
OleComponent * OleComponent::createEmbeddedCopyOfLink()
embeddedobj/source/msole/olecomponent.hxx:88
void OleComponent::disconnectEmbeddedObject()
embeddedobj/source/msole/olecomponent.hxx:90
@@ -278,14 +252,10 @@ extensions/source/scanner/scanner.hxx:79
void ScannerManager::SetData(void *)
extensions/source/scanner/scanner.hxx:83
com::sun::star::uno::Reference<com::sun::star::uno::XInterface> ScannerManager_CreateInstance(const com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> &)
filter/source/svg/svgwriter.hxx:341
Color SVGActionWriter::ImplGetColorWithIntensity(const Color &,unsigned short)
hwpfilter/source/hiodev.h:62
unsigned long HIODev::read4b(void *,unsigned long)
idl/source/prj/svidl.cxx:103
int main(int,char **)
include/basegfx/color/bcolormodifier.hxx:118
enum basegfx::BColorModifierType basegfx::BColorModifier::getBColorModifierType() const
include/basegfx/color/bcolormodifier.hxx:422
basegfx::BColorModifier_randomize::BColorModifier_randomize(double)
include/basegfx/curve/b2dcubicbezier.hxx:50
@@ -312,8 +282,6 @@ include/basegfx/matrix/hommatrixtemplate.hxx:43
basegfx::internal::ImplMatLine::ImplMatLine<RowSize>(unsigned short)
include/basegfx/matrix/hommatrixtemplate.hxx:297
_Bool basegfx::internal::ImplHomMatrixTemplate::isInvertible() const
include/basegfx/numeric/ftools.hxx:114
double basegfx::snapToRange(double,double,double)
include/basegfx/numeric/ftools.hxx:118
double basegfx::copySign(double,double)
include/basegfx/pixel/bpixel.hxx:53
@@ -366,8 +334,6 @@ include/basegfx/range/b3drange.hxx:97
_Bool basegfx::B3DRange::operator!=(const basegfx::B3DRange &) const
include/basegfx/range/b3drange.hxx:198
basegfx::B3DTuple basegfx::B3DRange::clamp(const basegfx::B3DTuple &) const
include/basegfx/range/b3drange.hxx:218
const basegfx::B3DRange & basegfx::B3DRange::getUnitB3DRange()
include/basegfx/range/b3drange.hxx:223
basegfx::B3DRange basegfx::operator*(const basegfx::B3DHomMatrix &,const basegfx::B3DRange &)
include/basegfx/range/Range2D.hxx:176
@@ -400,8 +366,6 @@ include/basegfx/utils/canvastools.hxx:129
basegfx::B3DRange basegfx::unotools::b3DRectangleFromRealRectangle3D(const struct com::sun::star::geometry::RealRectangle3D &)
include/basegfx/utils/gradienttools.hxx:84
int (anonymous namespace)::ColorToBColorConverter::operator int() const
include/basegfx/utils/systemdependentdata.hxx:99
unsigned int basegfx::SystemDependentData::getCombinedHoldCyclesInSeconds() const
include/basegfx/utils/unopolypolygon.hxx:87
const basegfx::B2DPolyPolygon & basegfx::unotools::UnoPolyPolygon::getPolyPolygonUnsafe() const
include/basegfx/vector/b2dsize.hxx:84
@@ -430,8 +394,6 @@ include/codemaker/global.hxx:55
FileStream & operator<<(FileStream &,const rtl::OStringBuffer *)
include/codemaker/global.hxx:56
FileStream & operator<<(FileStream &,const rtl::OStringBuffer &)
include/codemaker/options.hxx:53
const rtl::OString & Options::getProgramName() const
include/codemaker/typemanager.hxx:45
const rtl::Reference<unoidl::Manager> & TypeManager::getManager() const
include/codemaker/typemanager.hxx:49
@@ -642,8 +604,6 @@ include/editeng/svxacorr.hxx:183
const SvxAutocorrWord * SvxAutocorrWordList::Iterator::operator->() const
include/filter/msfilter/mstoolbar.hxx:103
Indent::Indent(_Bool)
include/filter/msfilter/rtfutil.hxx:60
int msfilter::rtfutil::AsHex(char)
include/formula/opcode.hxx:547
std::basic_string<char> OpCodeEnumToString(enum OpCode)
include/formula/tokenarray.hxx:182
@@ -728,8 +688,6 @@ include/o3tl/enumarray.hxx:147
const type-parameter-?-?::value_type * o3tl::enumarray_const_iterator::operator->() const
include/o3tl/enumarray.hxx:150
_Bool o3tl::enumarray_const_iterator::operator==(const enumarray_const_iterator<EA> &) const
include/o3tl/float_int_conversion.hxx:58
type-parameter-?-? o3tl::roundAway(type-parameter-?-?)
include/o3tl/hash_combine.hxx:20
void o3tl::hash_combine(type-parameter-?-? &,const type-parameter-?-? *,unsigned long)
include/o3tl/intcmp.hxx:19
@@ -762,16 +720,12 @@ include/oox/drawingml/color.hxx:129
_Bool oox::drawingml::Color::equals(const oox::drawingml::Color &,const oox::GraphicHelper &,Color) const
include/oox/drawingml/ThemeFilterBase.hxx:35
void oox::drawingml::ThemeFilterBase::setCurrentTheme(const std::shared_ptr<oox::drawingml::Theme> &)
include/oox/export/DMLPresetShapeExport.hxx:100
_Bool oox::drawingml::DMLPresetShapeExporter::HasHandleValue() const
include/oox/export/DMLPresetShapeExport.hxx:129
com::sun::star::uno::Any oox::drawingml::DMLPresetShapeExporter::FindHandleValue(com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue>,std::basic_string_view<char16_t>)
include/oox/export/drawingml.hxx:340
_Bool oox::drawingml::DrawingML::EqualGradients(const struct com::sun::star::awt::Gradient2 &,const struct com::sun::star::awt::Gradient2 &)
include/oox/export/drawingml.hxx:377
_Bool oox::drawingml::DrawingML::WriteCharColor(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> &)
include/oox/export/drawingml.hxx:518
Color oox::drawingml::DrawingML::ColorWithIntensity(unsigned int,unsigned int)
include/oox/helper/attributelist.hxx:69
long oox::AttributeConversion::decodeHyper(std::basic_string_view<char16_t>)
include/oox/helper/containerhelper.hxx:51
@@ -798,42 +752,28 @@ include/oox/helper/propertymap.hxx:115
void oox::PropertyMap::dumpCode(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> &)
include/oox/helper/propertymap.hxx:116
void oox::PropertyMap::dumpData(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> &)
include/oox/ppt/slidepersist.hxx:93
const std::shared_ptr<struct oox::drawingml::FillProperties> & oox::ppt::SlidePersist::getBackgroundProperties() const
include/opencl/openclconfig.hxx:58
_Bool OpenCLConfig::ImplMatcher::operator!=(const struct OpenCLConfig::ImplMatcher &) const
include/opencl/openclconfig.hxx:95
std::basic_ostream<char> & operator<<(std::basic_ostream<char> &,const struct OpenCLConfig &)
include/package/InflateZstd.hxx:33
ZipUtils::InflateZstd::InflateZstd(_Bool)
include/sfx2/childwin.hxx:120
void SfxChildWindow::ClearController()
include/sfx2/docfilt.hxx:81
_Bool SfxFilter::GetGpgEncryption() const
include/sfx2/evntconf.hxx:61
struct SfxEventName & SfxEventNamesList::at(unsigned long)
include/sfx2/infobar.hxx:104
void SfxInfoBarWindow::SetCommandHandler(weld::Button &,const rtl::OUString &)
include/sfx2/lokcomponenthelpers.hxx:48
void LokChartHelper::Invalidate()
include/sfx2/viewsh.hxx:475
enum LOKDeviceFormFactor SfxViewShell::GetLOKDeviceFormFactor() const
include/svl/itempool.hxx:202
unsigned short SfxItemPool::GetSize_Impl() const
include/svl/itempool.hxx:224
void SfxItemPool::AddRef(const SfxPoolItem &)
include/svl/itempool.hxx:225
unsigned int SfxItemPool::ReleaseRef(const SfxPoolItem &,unsigned int)
include/svl/itempool.hxx:247
const type-parameter-?-? * SfxItemPool::GetPoolDefaultItem(TypedWhichId<type-parameter-?-?>) const
include/svl/itempool.hxx:262
enum MapUnit SfxItemPool::GetDefaultMetric() const
include/svl/lockfilecommon.hxx:60
void svt::LockFileCommon::SetURL(const rtl::OUString &)
include/svl/ondemand.hxx:336
const CharClass & OnDemandCharClass::operator*() const
include/svl/poolitem.hxx:657
_Bool SfxPoolItem::isPooled() const
include/svl/poolitem.hxx:712
type-parameter-?-? * SfxPoolItem::DynamicWhichCast(TypedWhichId<type-parameter-?-?>)
include/svl/poolitem.hxx:868
@@ -854,8 +794,6 @@ include/svtools/DocumentToGraphicRenderer.hxx:106
_Bool DocumentToGraphicRenderer::isImpress() const
include/svtools/extcolorcfg.hxx:54
const rtl::OUString & svtools::ExtendedColorConfigValue::getDisplayName() const
include/svtools/extcolorcfg.hxx:56
Color svtools::ExtendedColorConfigValue::getDefaultColor() const
include/svtools/extcolorcfg.hxx:58
void svtools::ExtendedColorConfigValue::setColor(Color)
include/svtools/extcolorcfg.hxx:74
@@ -900,8 +838,6 @@ include/svtools/extcolorcfg.hxx:104
void svtools::EditableExtendedColorConfig::DisableBroadcast()
include/svtools/extcolorcfg.hxx:105
void svtools::EditableExtendedColorConfig::EnableBroadcast()
include/svtools/scrolladaptor.hxx:60
_Bool ScrollAdaptor::IsHoriScroll() const
include/svx/autoformathelper.hxx:145
_Bool AutoFormatBase::operator==(const AutoFormatBase &) const
include/svx/chrtitem.hxx:161
@@ -910,8 +846,6 @@ include/svx/chrtitem.hxx:180
void SvxChartColorPaletteItem::SetType(const enum ChartColorPaletteType)
include/svx/chrtitem.hxx:181
void SvxChartColorPaletteItem::SetIndex(const unsigned int)
include/svx/ClassificationField.hxx:48
const rtl::OUString & svx::ClassificationResult::getDisplayText() const
include/svx/ClassificationField.hxx:53
_Bool svx::ClassificationResult::operator==(const svx::ClassificationResult &) const
include/svx/ctredlin.hxx:64
@@ -924,8 +858,6 @@ include/svx/dlgctrl.hxx:263
void SvxLineEndLB::set_active_text(const rtl::OUString &)
include/svx/framelink.hxx:169
_Bool svx::frame::operator>(const svx::frame::Style &,const svx::frame::Style &)
include/svx/hlnkitem.hxx:105
void SvxHyperlinkItem::SetReplacementText(const rtl::OUString &)
include/svx/langbox.hxx:95
void SvxLanguageBox::set_size_request(int,int)
include/svx/Palette.hxx:45
@@ -940,10 +872,6 @@ include/svx/svdpage.hxx:230
std::reverse_iterator<__gnu_debug::_Safe_iterator<struct std::__cxx1998::_Deque_iterator<rtl::Reference<SdrObject>, const rtl::Reference<SdrObject> &, const rtl::Reference<SdrObject> *>, std::deque<rtl::Reference<SdrObject> > > > SdrObjList::rbegin() const
include/svx/svdpage.hxx:231
std::reverse_iterator<__gnu_debug::_Safe_iterator<struct std::__cxx1998::_Deque_iterator<rtl::Reference<SdrObject>, const rtl::Reference<SdrObject> &, const rtl::Reference<SdrObject> *>, std::deque<rtl::Reference<SdrObject> > > > SdrObjList::rend() const
include/svx/svdpage.hxx:335
void SdrPageProperties::sendLOKitThemeChangedCallback()
include/svx/svdpntv.hxx:518
_Bool SdrPaintView::IsSwapAsynchron() const
include/svx/svdtrans.hxx:246
_Bool IsMetric(enum MapUnit)
include/svx/svxdlg.hxx:156
@@ -964,19 +892,7 @@ include/tools/bigint.hxx:210
BigInt operator-(const BigInt &,const BigInt &)
include/tools/bigint.hxx:231
BigInt operator%(const BigInt &,const BigInt &)
include/tools/color.hxx:32
unsigned int color::extractRGB(unsigned int)
include/tools/cpuid.hxx:67
_Bool cpuid::hasSSE2()
include/tools/cpuid.hxx:74
_Bool cpuid::hasSSSE3()
include/tools/cpuid.hxx:81
_Bool cpuid::hasAVX()
include/tools/cpuid.hxx:88
_Bool cpuid::hasAVX2()
include/tools/cpuid.hxx:95
_Bool cpuid::hasAVX512F()
include/tools/date.hxx:235
_Bool Date::IsValidDate(unsigned short,unsigned short,short)
include/tools/datetime.hxx:52
DateTime::DateTime(const tools::Time &)
@@ -1076,10 +992,6 @@ include/tools/XmlWriter.hxx:77
void tools::XmlWriter::element(const char *)
include/unotest/directories.hxx:46
rtl::OUString test::Directories::getPathFromWorkdir(std::basic_string_view<char16_t>) const
include/unotools/charclass.hxx:101
_Bool CharClass::isAlphaNumericType(int)
include/unotools/localedatawrapper.hxx:249
const rtl::OUString & LocaleDataWrapper::getLongDateYearSep() const
include/unotools/resmgr.hxx:58
TranslateNId::TranslateNId()
include/unotools/resmgr.hxx:63
@@ -1090,10 +1002,6 @@ include/unotools/securityoptions.hxx:64
_Bool SvtSecurityOptions::Certificate::operator==(const struct SvtSecurityOptions::Certificate &) const
include/unotools/textsearch.hxx:122
basic_ostream<type-parameter-?-?, type-parameter-?-?> & utl::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const enum utl::SearchParam::SearchType &)
include/unotools/useroptions.hxx:82
rtl::OUString SvtUserOptions::GetSigningKeyDisplayName() const
include/unotools/useroptions.hxx:83
rtl::OUString SvtUserOptions::GetEncryptionKeyDisplayName() const
include/unotools/weakref.hxx:72
unotools::WeakReference::WeakReference<interface_type>(type-parameter-?-? &)
include/vcl/abstdlgimpl.hxx:42
@@ -1160,12 +1068,8 @@ include/vcl/customweld.hxx:193
void weld::CustomWeld::set_tooltip_text(const rtl::OUString &)
include/vcl/fieldvalues.hxx:59
double vcl::ConvertDoubleValue(long,long,unsigned short,enum FieldUnit,enum FieldUnit)
include/vcl/filter/pdfdocument.hxx:118
const std::vector<vcl::filter::PDFReferenceElement *> & vcl::filter::PDFObjectElement::GetDictionaryReferences() const
include/vcl/filter/pdfdocument.hxx:127
unsigned long vcl::filter::PDFObjectElement::GetArrayLength() const
include/vcl/filter/pdfdocument.hxx:187
vcl::filter::PDFNumberElement & vcl::filter::PDFReferenceElement::GetObjectElement() const
include/vcl/filter/PDFiumLibrary.hxx:107
basegfx::B2DSize vcl::pdf::PDFiumAnnotation::getBorderCornerRadius()
include/vcl/font/Feature.hxx:50
@@ -1212,8 +1116,6 @@ include/vcl/salnativewidgets.hxx:387
_Bool TabitemValue::isNotAligned() const
include/vcl/settings.hxx:366
void StyleSettings::SetWarningColor(const Color &)
include/vcl/settings.hxx:451
const Color & StyleSettings::GetAlternatingRowColor() const
include/vcl/settings.hxx:467
void StyleSettings::SetUseFlatBorders(_Bool)
include/vcl/settings.hxx:470
@@ -1222,8 +1124,6 @@ include/vcl/settings.hxx:482
void StyleSettings::SetHideDisabledMenuItems(_Bool)
include/vcl/settings.hxx:547
void StyleSettings::SetSpinSize(int)
include/vcl/settings.hxx:580
Size StyleSettings::GetToolbarIconSizePixel() const
include/vcl/settings.hxx:701
_Bool HelpSettings::operator!=(const HelpSettings &) const
include/vcl/settings.hxx:762
@@ -1238,30 +1138,16 @@ include/vcl/task.hxx:86
_Bool Task::DecideTransferredExecution()
include/vcl/TaskStopwatch.hxx:91
void TaskStopwatch::reset()
include/vcl/TaskStopwatch.hxx:102
void TaskStopwatch::setInputStop(enum VclInputFlags)
include/vcl/TaskStopwatch.hxx:103
enum VclInputFlags TaskStopwatch::inputStop() const
include/vcl/TaskStopwatch.hxx:111
unsigned int TaskStopwatch::timeSlice()
include/vcl/TaskStopwatch.hxx:112
void TaskStopwatch::setTimeSlice(unsigned int)
include/vcl/textrectinfo.hxx:48
_Bool TextRectInfo::operator!=(const TextRectInfo &) const
include/vcl/themecolors.hxx:46
void ThemeColors::SetThemeColors(const ThemeColors &)
include/vcl/themecolors.hxx:138
const Color & ThemeColors::GetActiveTextColor() const
include/vcl/themecolors.hxx:139
const Color & ThemeColors::GetActiveBorderColor() const
include/vcl/themecolors.hxx:140
const Color & ThemeColors::GetFieldColor() const
include/vcl/themecolors.hxx:150
const Color & ThemeColors::GetInactiveColor() const
include/vcl/themecolors.hxx:153
const rtl::OUString & ThemeColors::GetThemeName() const
include/vcl/themecolors.hxx:156
_Bool ThemeColors::IsAppBackBitmapStretched()
include/vcl/toolkit/longcurr.hxx:46
BigInt LongCurrencyFormatter::GetValue() const
include/vcl/toolkit/treelist.hxx:171
@@ -1316,8 +1202,6 @@ include/vcl/weld.hxx:1547
const rtl::OUString & weld::IconView::get_saved_value() const
include/vcl/weld.hxx:1548
_Bool weld::IconView::get_value_changed_from_saved() const
include/vcl/weld.hxx:1677
void weld::MenuButton::append_item_radio(const rtl::OUString &,const rtl::OUString &)
include/vcl/weld.hxx:1685
void weld::MenuButton::append_item(const rtl::OUString &,const rtl::OUString &,VirtualDevice &)
include/vcl/weld.hxx:1778
@@ -1326,16 +1210,12 @@ include/vcl/weld.hxx:2376
Size weld::MetricSpinButton::get_size_request() const
include/vcl/weld.hxx:2388
void weld::MetricSpinButton::set_position(int)
include/vcl/weld.hxx:2492
int weld::TextView::vadjustment_get_lower() const
include/vcl/weld.hxx:2723
rtl::OUString weld::Toolbar::get_item_label(const rtl::OUString &) const
include/vcl/weld.hxx:2773
void weld::Scrollbar::adjustment_configure(int,int,int,int,int,int)
include/vcl/weld.hxx:2789
int weld::Scrollbar::get_scroll_thickness() const
include/vcl/weld.hxx:2823
std::unique_ptr<weld::MenuToggleButton> weld::Builder::weld_menu_toggle_button(const rtl::OUString &)
include/vcl/weld.hxx:2936
rtl::OUString weld::MessageDialogController::get_secondary_text() const
include/vcl/weldutils.hxx:198
@@ -1392,10 +1272,6 @@ oox/inc/drawingml/textliststyle.hxx:61
void oox::drawingml::TextListStyle::dump() const
oox/inc/drawingml/textparagraphproperties.hxx:98
void oox::drawingml::TextParagraphProperties::setLineSpacing(const oox::drawingml::TextSpacing &)
oox/source/drawingml/diagram/diagramlayoutatoms.hxx:330
const std::vector<std::shared_ptr<oox::drawingml::Shape> > & oox::drawingml::LayoutNode::getNodeShapes() const
oox/source/drawingml/diagram/diagramlayoutatoms.hxx:339
const oox::drawingml::LayoutNode * oox::drawingml::LayoutNode::getParentLayoutNode() const
oox/source/shape/WordprocessingCanvasContext.hxx:30
const _Bool & oox::shape::WordprocessingCanvasContext::isFullWPGSupport() const
oox/source/shape/WordprocessingCanvasContext.hxx:31
@@ -1442,14 +1318,10 @@ sc/inc/column.hxx:293
_Bool ScColumn::HasDataAt(struct sc::ColumnBlockPosition &,int,struct ScDataAreaExtras *)
sc/inc/columniterator.hxx:81
int sc::ColumnIterator::getType() const
sc/inc/datamapper.hxx:75
void sc::ExternalDataSource::setUpdateFrequency(double)
sc/inc/datamapper.hxx:78
void sc::ExternalDataSource::setURL(const rtl::OUString &)
sc/inc/datamapper.hxx:79
void sc::ExternalDataSource::setProvider(const rtl::OUString &)
sc/inc/document.hxx:953
const rtl::OUString & ScDocument::MaxRowAsString() const
sc/inc/dpfilteredcache.hxx:148
void ScDPFilteredCache::dump() const
sc/inc/formulacell.hxx:513
@@ -1516,8 +1388,6 @@ sc/inc/mtvelements.hxx:89
mdds::mtv::base_element_block * svl::mdds_mtv_create_new_block(const svl::SharedString &,const type-parameter-?-? &,const type-parameter-?-? &)
sc/inc/mtvelements.hxx:89
void svl::mdds_mtv_insert_values(mdds::mtv::base_element_block &,unsigned long,const svl::SharedString &,const type-parameter-?-? &,const type-parameter-?-? &)
sc/inc/mtvfunctions.hxx:376
void sc::ProcessElements2(type-parameter-?-? &,type-parameter-?-? &,type-parameter-?-? &)
sc/inc/patattr.hxx:121
_Bool CellAttributeHolder::operator!() const
sc/inc/rangecache.hxx:52
@@ -1592,14 +1462,8 @@ sc/source/core/tool/scmatrix.cxx:2431
wrapped_iterator<T, U, return_type> (anonymous namespace)::wrapped_iterator::operator--(int)
sc/source/core/tool/scmatrix.cxx:2444
type-parameter-?-? * (anonymous namespace)::wrapped_iterator::operator->() const
sc/source/filter/inc/drawingfragment.hxx:153
const oox::vml::ShapeBase * oox::xls::VmlDrawing::getNoteShape(const ScAddress &) const
sc/source/filter/inc/orcusinterface.hxx:831
const rtl::OUString * ScOrcusFactory::getString(unsigned long) const
sc/source/filter/inc/richstring.hxx:244
_Bool oox::xls::RichString::isPreserveSpace() const
sc/source/filter/inc/tokstack.hxx:213
_Bool TokenPool::GrowTripel(unsigned short)
sc/source/filter/inc/worksheethelper.hxx:192
com::sun::star::uno::Reference<com::sun::star::table::XCellRange> oox::xls::WorksheetHelper::getCellRange(const ScRange &) const
sc/source/filter/inc/xcl97rec.hxx:71
@@ -1640,26 +1504,14 @@ sc/source/ui/attrdlg/scdlgfact.cxx:83
(anonymous namespace)::ScreenshottedDialog_Impl_BASE::AbstractDialogImpl_BASE(weld::Window *&,const rtl::OUString *&)
sc/source/ui/attrdlg/scdlgfact.cxx:83
(anonymous namespace)::ScreenshottedDialog_Impl_BASE::AbstractDialogImpl_BASE(weld::Window *&,enum CreateNameFlags &)
sc/source/ui/inc/dataprovider.hxx:59
_Bool sc::CSVFetchThread::IsRequestedTerminate()
sc/source/ui/inc/dataprovider.hxx:60
void sc::CSVFetchThread::Terminate()
sc/source/ui/inc/dataprovider.hxx:61
void sc::CSVFetchThread::EndThread()
sc/source/ui/inc/dataprovider.hxx:88
const rtl::OUString & sc::DataProvider::GetURL() const
sc/source/ui/inc/dataproviderdlg.hxx:57
void ScDataProviderDlg::LinkStubStartMenuHdl(void *,const rtl::OString &)
sc/source/ui/inc/dataproviderdlg.hxx:57
void ScDataProviderDlg::StartMenuHdl(const rtl::OString &)
sc/source/ui/inc/dataproviderdlg.hxx:58
void ScDataProviderDlg::ColumnMenuHdl(const weld::ComboBox &)
sc/source/ui/inc/dataproviderdlg.hxx:58
void ScDataProviderDlg::LinkStubColumnMenuHdl(void *,const weld::ComboBox &)
sc/source/ui/inc/dataproviderdlg.hxx:75
void ScDataProviderDlg::applyAndQuit()
sc/source/ui/inc/dataproviderdlg.hxx:76
void ScDataProviderDlg::cancelAndQuit()
sc/source/ui/inc/datatableview.hxx:108
void ScDataTableView::getRowRange(int &,int &) const
sc/source/ui/inc/datatransformation.hxx:197
@@ -1674,8 +1526,6 @@ sc/source/ui/inc/datatransformation.hxx:212
const rtl::OUString & sc::DeleteRowTransformation::getFindString() const
sc/source/ui/inc/datatransformation.hxx:223
int sc::SwapRowsTransformation::getFirstRow() const
sc/source/ui/inc/datatransformation.hxx:224
int sc::SwapRowsTransformation::getSecondRow() const
sc/source/ui/inc/hfedtdlg.hxx:85
ScHFEditFirstHeaderDlg::ScHFEditFirstHeaderDlg(weld::Window *,const SfxItemSet &,std::basic_string_view<char16_t>)
sc/source/ui/inc/hfedtdlg.hxx:106
@@ -1688,18 +1538,8 @@ sc/source/ui/inc/SparklineDataRangeDialog.hxx:52
_Bool sc::SparklineDataRangeDialog::checkValidInputOutput()
sc/source/ui/inc/TableFillingAndNavigationTools.hxx:122
unsigned long DataRangeIterator::size()
sc/source/ui/inc/viewdata.hxx:407
long ScViewData::GetLOKDocWidthPixel() const
sc/source/ui/inc/viewdata.hxx:408
long ScViewData::GetLOKDocHeightPixel() const
sc/source/ui/inc/viewdata.hxx:557
_Bool ScViewData::IsGridMode() const
scaddins/source/analysis/analysishelper.hxx:781
_Bool sca::analysis::ScaDate::operator>=(const sca::analysis::ScaDate &) const
sccomp/source/solver/DifferentialEvolution.hxx:66
int DifferentialEvolutionAlgorithm::getLastChange()
sccomp/source/solver/ParticelSwarmOptimization.hxx:84
int ParticleSwarmOptimizationAlgorithm::getLastChange()
sd/inc/sddll.hxx:47
SdDLL::SdDLL()
sd/source/filter/eppt/epptooxml.hxx:96
@@ -1796,8 +1636,6 @@ sfx2/source/inc/shutdownicon.hxx:117
rtl::OUString ShutdownIcon::GetUrlDescription(std::basic_string_view<char16_t>)
sfx2/source/inc/shutdownicon.hxx:119
void ShutdownIcon::SetVeto(_Bool)
sfx2/source/inc/templdgi.hxx:120
void SfxCommonTemplateDialog_Impl::LinkStubUpdateStyleDependents_Hdl(void *,void *)
shell/inc/xml_parser.hxx:43
xml_parser::xml_parser()
shell/inc/xml_parser.hxx:66
@@ -1846,8 +1684,6 @@ slideshow/source/engine/slideoverlaybutton.hxx:66
struct com::sun::star::geometry::IntegerSize2D slideshow::internal::SlideOverlayButton::getSize() const
slideshow/source/inc/box2dtools.hxx:159
void box2d::utils::box2DWorld::setShapeAngle(const com::sun::star::uno::Reference<com::sun::star::drawing::XShape> &,const double)
slideshow/source/inc/box2dtools.hxx:244
_Bool box2d::utils::box2DWorld::shapesInitialized()
slideshow/source/inc/eventmultiplexer.hxx:652
basegfx::B2DPoint slideshow::internal::EventMultiplexer::toMatrixPoint(const com::sun::star::uno::Reference<com::sun::star::uno::XInterface> &,const basegfx::B2DPoint &)
slideshow/source/inc/listenercontainer.hxx:44
@@ -1868,30 +1704,12 @@ slideshow/source/inc/listenercontainer.hxx:54
_Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const std::shared_ptr<slideshow::internal::ViewEventHandler> &)
slideshow/source/inc/listenercontainer.hxx:54
_Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const std::shared_ptr<slideshow::internal::ViewRepaintHandler> &)
slideshow/source/inc/shapeimporter.hxx:99
void slideshow::internal::ShapeImporter::setMasterPageObjectsOnly(_Bool)
slideshow/source/inc/shapeimporter.hxx:104
void slideshow::internal::ShapeImporter::setTextFieldsOnly(_Bool)
starmath/inc/format.hxx:142
_Bool SmFormat::operator!=(const SmFormat &) const
starmath/inc/mathml/attribute.hxx:80
SmMlAttribute::SmMlAttribute(const SmMlAttribute *)
starmath/inc/mathml/attribute.hxx:116
_Bool SmMlAttribute::isMlAttributeValueType(enum SmMlAttributeValueType) const
starmath/inc/mathml/attribute.hxx:132
void SmMlAttribute::setMlAttributeValue(const SmMlAttribute &)
starmath/inc/mathml/element.hxx:103
_Bool SmMlElement::isMlElementType(enum SmMlElementType) const
starmath/inc/mathml/element.hxx:113
const struct ESelection & SmMlElement::getESelection() const
starmath/inc/mathml/element.hxx:125
void SmMlElement::setESelection(struct ESelection)
starmath/inc/mathml/element.hxx:132
int SmMlElement::GetSourceCodeRow() const
starmath/inc/mathml/element.hxx:139
int SmMlElement::GetSourceCodeColumn() const
starmath/inc/mathml/export.hxx:139
_Bool SmMLExport::getUseExportTag() const
starmath/inc/mathml/import.hxx:39
SmMlElement * SmMLImportWrapper::getElementTree()
starmath/inc/mathml/import.hxx:44
@@ -1904,12 +1722,6 @@ starmath/inc/mathml/import.hxx:141
void SmMLImport::SetSmSyntaxVersion(short)
starmath/inc/mathml/import.hxx:145
short SmMLImport::GetSmSyntaxVersion() const
starmath/inc/mathml/iterator.hxx:22
void mathml::SmMlIteratorBottomToTop(SmMlElement *,type-parameter-?-?,void *)
starmath/inc/mathml/iterator.hxx:121
SmMlElement * mathml::SmMlIteratorCopy(SmMlElement *)
starmath/inc/mathml/mathmlexport.hxx:62
_Bool SmXMLExportWrapper::IsUseHTMLMLEntities() const
starmath/inc/mathml/mathmlimport.hxx:109
short SmXMLImport::GetSmSyntaxVersion() const
starmath/inc/mathml/mathmlMo.hxx:83
@@ -1918,36 +1730,14 @@ starmath/inc/mathml/mathmlMo.hxx:88
enum moOpDF operator&(enum moOpDF,enum moOpDF)
starmath/inc/mathml/mathmlMo.hxx:98
enum moOpDP operator&(enum moOpDP,enum moOpDP)
starmath/inc/mathml/starmathdatabase.hxx:288
struct SmColorTokenTableEntry starmathdatabase::Identify_Color_DVIPSNAMES(unsigned int)
starmath/inc/node.hxx:508
SmNode * SmStructureNode::GetSubNodeBinMo(unsigned long) const
starmath/inc/node.hxx:533
void SmStructureNode::SetSubNodes(SmNode *,SmNode *,SmNode *)
starmath/inc/nodetype.hxx:59
_Bool starmathdatabase::isStructuralNode(enum SmNodeType)
starmath/inc/nodetype.hxx:71
_Bool starmathdatabase::isBinOperatorNode(enum SmNodeType)
starmath/inc/nodetype.hxx:77
_Bool starmathdatabase::isUnOperatorNode(enum SmNodeType)
starmath/inc/nodetype.hxx:82
_Bool starmathdatabase::isOperatorNode(enum SmNodeType)
starmath/inc/nodetype.hxx:89
_Bool starmathdatabase::isStandaloneNode(enum SmNodeType)
starmath/inc/parse.hxx:31
AbstractSmParser * starmathdatabase::GetDefaultSmParser()
starmath/inc/smmod.hxx:54
rtl::OUString SmLocalizedSymbolData::GetExportSymbolName(std::basic_string_view<char16_t>)
starmath/inc/token.hxx:181
SmColorTokenTableEntry::SmColorTokenTableEntry(const std::unique_ptr<struct SmColorTokenTableEntry>)
starmath/inc/token.hxx:203
_Bool SmColorTokenTableEntry::equals(std::basic_string_view<char16_t>) const
starmath/inc/token.hxx:210
_Bool SmColorTokenTableEntry::equals(Color) const
svgio/inc/svgstyleattributes.hxx:345
const basegfx::BColor * svgio::svgreader::SvgStyleAttributes::getContextFill() const
svgio/inc/svgstyleattributes.hxx:348
const basegfx::BColor * svgio::svgreader::SvgStyleAttributes::getContextStroke() const
svgio/inc/svgstyleattributes.hxx:384
svgio::svgreader::SvgNumber svgio::svgreader::SvgStyleAttributes::getStrokeDashOffset() const
svgio/inc/svgstyleattributes.hxx:408
@@ -1972,8 +1762,6 @@ svx/inc/sdr/contact/viewcontactofgraphic.hxx:51
SdrGrafObj & sdr::contact::ViewContactOfGraphic::GetGrafObject()
sw/inc/AnnotationWin.hxx:208
void sw::annotation::SwAnnotationWin::queue_draw()
sw/inc/calbck.hxx:323
sw::WriterListener * sw::ClientIteratorBase::GetLeftOfPos()
sw/inc/calbck.hxx:430
SwIterator::SwIterator<sw::ClientBase<T>, TSource>(const type-parameter-?-? &)
sw/inc/calbck.hxx:431
@@ -2056,8 +1844,6 @@ sw/inc/docary.hxx:143
void SwVectorModifyBase::dumpAsXml(struct _xmlTextWriter *)
sw/inc/docufld.hxx:522
void SwPostItField::ToggleResolved()
sw/inc/editsh.hxx:381
void SwEditShell::ValidateCurrentParagraphSignatures(_Bool)
sw/inc/extinput.hxx:47
SwExtTextInput * SwExtTextInput::GetPrev()
sw/inc/extinput.hxx:48
@@ -2080,8 +1866,6 @@ sw/inc/IDocumentLinksAdministration.hxx:53
_Bool IDocumentLinksAdministration::GetData(const rtl::OUString &,const rtl::OUString &,com::sun::star::uno::Any &) const
sw/inc/IDocumentLinksAdministration.hxx:55
void IDocumentLinksAdministration::SetData(const rtl::OUString &)
sw/inc/modcfg.hxx:338
_Bool SwModuleOptions::IsFileEncryptedFromColumn() const
sw/inc/names.hxx:54
_Bool ProgName::operator==(std::basic_string_view<char16_t>) const
sw/inc/names.hxx:55
@@ -2118,12 +1902,8 @@ sw/inc/rdfhelper.hxx:88
void SwRDFHelper::updateTextNodeStatement(const rtl::OUString &,const rtl::OUString &,SwTextNode &,const rtl::OUString &,const rtl::OUString &,const rtl::OUString &)
sw/inc/ring.hxx:204
sw::RingIterator::RingIterator<value_type>()
sw/inc/shellio.hxx:89
void SwAsciiOptions::SetIncludeHidden(_Bool)
sw/inc/swabstdlg.hxx:425
std::optional<SwLanguageListItem> AbstractSwTranslateLangSelectDlg::GetSelectedLanguage()
sw/inc/swatrset.hxx:227
const SvxNoHyphenItem & SwAttrSet::GetNoHyphenHere(_Bool) const
sw/inc/swcrsr.hxx:314
SwTableCursor * SwTableCursor::GetNext()
sw/inc/swcrsr.hxx:315
@@ -2136,10 +1916,6 @@ sw/inc/swrect.hxx:108
SvStream & WriteSwRect(SvStream &,const SwRect &)
sw/inc/swrect.hxx:152
_Bool SwRect::OverStepTop(long) const
sw/inc/textboxhelper.hxx:260
_Bool SwTextBoxNode::IsGroupTextBox() const
sw/inc/view.hxx:484
void SwView::LinkStubMoveNavigationHdl(void *,void *)
sw/inc/viscrs.hxx:235
SwShellTableCursor * SwShellTableCursor::GetNext()
sw/inc/viscrs.hxx:236
@@ -2156,28 +1932,14 @@ sw/source/core/access/accportions.cxx:55
unsigned long FindBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?)
sw/source/core/access/accportions.cxx:59
unsigned long FindLastBreak(const vector<type-parameter-?-?, allocator<type-parameter-?-?> > &,type-parameter-?-?)
sw/source/core/inc/AccessibilityIssue.hxx:82
SwTextFootnote * sw::AccessibilityIssue::getTextFootnote()
sw/source/core/inc/frame.hxx:972
void SwFrame::dumpTopMostAsXml(struct _xmlTextWriter *) const
sw/source/core/inc/frame.hxx:1428
Size SwRectFnSet::GetSize(const SwRect &) const
sw/source/core/inc/frame.hxx:1459
long SwRectFnSet::LeftDist(const SwRect &,long) const
sw/source/core/inc/frame.hxx:1460
long SwRectFnSet::RightDist(const SwRect &,long) const
sw/source/core/inc/mvsave.hxx:170
_Bool ZSortFly::operator==(const ZSortFly &) const
sw/source/core/text/porlin.hxx:121
_Bool SwLinePortion::IsTabRightPortion() const
sw/source/core/text/txtpaint.hxx:73
DbgBackColor::DbgBackColor(OutputDevice *,const _Bool)
sw/source/core/text/txtpaint.hxx:80
DbgRect::DbgRect(OutputDevice *,const tools::Rectangle &,const _Bool,Color)
sw/source/filter/md/wrtmd.hxx:34
_Bool SwMDWriter::isInTable() const
sw/source/filter/md/wrtmd.hxx:35
struct o3tl::strong_int<int, struct Tag_SwNodeOffset> SwMDWriter::StartNodeIndex() const
sw/source/filter/ww8/ww8par.hxx:1043
WW8PostProcessAttrsInfo::WW8PostProcessAttrsInfo(int,int,SwPaM &)
sw/source/ui/dialog/swdlgfact.cxx:108
@@ -2318,8 +2080,6 @@ vcl/inc/skia/salbmp.hxx:107
void SkiaSalBitmap::dump(const char *) const
vcl/inc/skia/utils.hxx:65
sk_sp<SkSurface> SkiaHelper::createSkSurface(int,int,enum SkAlphaType)
vcl/inc/skia/utils.hxx:128
void SkiaHelper::removeCachedImage(sk_sp<SkImage>)
vcl/inc/skia/utils.hxx:138
void SkiaHelper::setPixelGeometry(enum SkPixelGeometry)
vcl/inc/skia/utils.hxx:275
@@ -90,14 +90,6 @@ namespace emfplushelper
// flags table from MS-EMFPLUS doc
bool DirectionRightToLeft() const { return stringFormatFlags & 0x00000001;}
bool DirectionVertical() const { return stringFormatFlags & 0x00000002;}
bool NoFitBlackBox() const { return stringFormatFlags & 0x00000004;}
bool DisplayFormatControl() const { return stringFormatFlags & 0x00000020;}
bool NoFontFallback() const { return stringFormatFlags & 0x00000400;}
bool MeasureTrailingSpaces() const { return stringFormatFlags & 0x00000800;}
bool NoWrap() const { return stringFormatFlags & 0x00001000;}
bool LineLimit() const { return stringFormatFlags & 0x00002000;}
bool NoClip() const { return stringFormatFlags & 0x00004000;}
bool BypassGDI() const { return stringFormatFlags & 0x80000000;}
};
}
-16
View File
@@ -802,22 +802,6 @@ private:
return double(nYValue) * maScalingParameters.fSpacingY;
}
double scaleXFontValue(tools::Long nXValue) const
{
if (!maStatus.DoStretch() || (maScalingParameters.fFontX == 1.0))
return nXValue;
return double(nXValue) * maScalingParameters.fFontX;
}
double scaleYFontValue(sal_uInt16 nYValue) const
{
if (!maStatus.DoStretch() || (maScalingParameters.fFontY == 1.0))
return nYValue;
return double(nYValue) * maScalingParameters.fFontY;
}
void setRoundToNearestPt(bool bRound) { mbRoundToNearestPt = bRound; }
double roundToNearestPt(double fInput) const;
@@ -81,8 +81,6 @@ public:
virtual ~OleComponent() override;
OleComponent* createEmbeddedCopyOfLink();
void disconnectEmbeddedObject();
static css::awt::Size CalculateWithFactor( const css::awt::Size& aSize,
-11
View File
@@ -2529,17 +2529,6 @@ void SVGActionWriter::ImplWriteGradientStop( const Color& rColor, double fOffset
}
}
Color SVGActionWriter::ImplGetColorWithIntensity( const Color& rColor,
sal_uInt16 nIntensity )
{
sal_uInt8 nNewRed = static_cast<sal_uInt8>( static_cast<tools::Long>(rColor.GetRed()) * nIntensity / 100 );
sal_uInt8 nNewGreen = static_cast<sal_uInt8>( static_cast<tools::Long>(rColor.GetGreen()) * nIntensity / 100 );
sal_uInt8 nNewBlue = static_cast<sal_uInt8>( static_cast<tools::Long>(rColor.GetBlue()) * nIntensity / 100 );
return Color( nNewRed, nNewGreen, nNewBlue);
}
void SVGActionWriter::StartMask(const Point& rDestPt, const Size& rDestSize,
const Gradient& rGradient, sal_uInt32 nWriteFlags,
const basegfx::BColorStops* pColorStops, OUString* pTextFillOpacity)
-1
View File
@@ -341,7 +341,6 @@ private:
void ImplWriteGradientEx( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient, sal_uInt32 nWriteFlags, const basegfx::BColorStops* pColorStops);
void ImplWriteGradientLinear( const tools::PolyPolygon& rPolyPoly, const Gradient& rGradient, const basegfx::BColorStops* pColorStops );
void ImplWriteGradientStop( const Color& rColor, double fOffset );
static Color ImplGetColorWithIntensity( const Color& rColor, sal_uInt16 nIntensity );
void ImplWriteMask( GDIMetaFile& rMtf, const Point& rDestPt, const Size& rDestSize, const Gradient& rGradient, sal_uInt32 nWriteFlags, const basegfx::BColorStops* pColorStops);
void ImplWriteText( const Point& rPos, const OUString& rText, KernArraySpan pDXArray, tools::Long nWidth );
void ImplWriteText( const Point& rPos, const OUString& rText, KernArraySpan pDXArray, tools::Long nWidth, Color aTextColor );
-3
View File
@@ -113,9 +113,6 @@ namespace basegfx
virtual ::basegfx::BColor getModifiedColor(const ::basegfx::BColor& aSourceColor) const = 0;
virtual OUString getModifierName() const = 0;
// return type
BColorModifierType getBColorModifierType() const { return maType; }
};
/** convert color to gray
-4
View File
@@ -109,10 +109,6 @@ namespace basegfx
*/
BASEGFX_DLLPUBLIC double snapToZeroRange(double v, double fWidth);
/** Snap v to the range [fLow .. fHigh] using modulo
*/
double snapToRange(double v, double fLow, double fHigh);
/** return fValue with the sign of fSignCarrier, thus evtl. changed
*/
inline double copySign(double fValue, double fSignCarrier)
-3
View File
@@ -213,9 +213,6 @@ namespace basegfx
is part of the transformation.
*/
B3DRange& operator*=( const ::basegfx::B3DHomMatrix& rMat );
/** Get a range filled with (0.0, 0.0, 0.0, 1.0, 1.0, 1.0) */
static const B3DRange& getUnitB3DRange();
};
/** Transform B3DRange by given transformation matrix (see operator*=())
@@ -93,10 +93,6 @@ namespace basegfx
// mnCalculatedCycles
sal_uInt32 calculateCombinedHoldCyclesInSeconds() const;
// Allow read access to the calculated cycles in seconds, this
// can be e.g. used to determine if this instance got added
sal_uInt32 getCombinedHoldCyclesInSeconds() const { return mnCalculatedCycles; }
// Size estimation of the entry in bytes - does not have to
// be used, but should be. Default returns zero what
// means there is no size estimation available. Override to
-1
View File
@@ -50,7 +50,6 @@ public:
virtual ::rtl::OString prepareHelp() = 0;
const ::rtl::OString& getProgramName() const { return m_program;}
bool isValid(const ::rtl::OString& option) const;
/// @throws IllegalArgument
const OString& getOption(const ::rtl::OString& option) const;
-7
View File
@@ -47,13 +47,6 @@ MSFILTER_DLLPUBLIC OString OutString(std::u16string_view rStr, rtl_TextEncoding
MSFILTER_DLLPUBLIC OString OutStringUpr(std::string_view pToken, std::u16string_view rStr,
rtl_TextEncoding eDestEnc);
/**
* Get the numeric value of a single character, representing a hex value.
*
* @return -1 on failure
*/
MSFILTER_DLLPUBLIC int AsHex(char ch);
/// Writes binary data as a hex dump.
MSFILTER_DLLPUBLIC OString WriteHex(const sal_uInt8* pData, sal_uInt32 nSize,
SvStream* pStream = nullptr, sal_uInt32 nLimit = 64);
-8
View File
@@ -51,14 +51,6 @@ template <integral I, floating_point F> constexpr I saturating_cast(F f)
return std::numeric_limits<I>::max();
return f;
}
// Return `value` of floating-point type `F` rounded to the nearest integer away from zero (which
// can be useful in calls to convertsToAtLeast/Most(roundAway(x), n), to reject x that are
// smaller/larger than n because they have a fractional part):
template <floating_point F> F roundAway(F value)
{
return value >= 0 ? std::ceil(value) : std::floor(value);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
@@ -94,9 +94,6 @@ private:
typedef AdjustmentPointValueBase XAdjustmentValue;
typedef AdjustmentPointValueBase YAdjustmentValue;
// Returns true, if the shape has adjusting points
bool HasHandleValue() const;
// Returns true if the shape flipped.
bool IsXFlipped() const { return m_bIsFlipped.first; };
bool IsYFlipped() const { return m_bIsFlipped.second; };
-2
View File
@@ -541,8 +541,6 @@ public:
static sal_Unicode SubstituteBullet( sal_Unicode cBulletId, css::awt::FontDescriptor& rFontDesc );
static ::Color ColorWithIntensity( sal_uInt32 nColor, sal_uInt32 nIntensity );
static const char* GetAlignment(css::style::ParagraphAdjust nAlignment, bool bRTL,
bool bPlaceHolder);
-1
View File
@@ -90,7 +90,6 @@ public:
const oox::drawingml::ClrMapPtr& getClrMap() const { return mpClrMapPtr; }
void setBackgroundProperties( const oox::drawingml::FillPropertiesPtr& rFillPropertiesPtr ){ mpBackgroundPropertiesPtr = rFillPropertiesPtr; }
const oox::drawingml::FillPropertiesPtr& getBackgroundProperties() const { return mpBackgroundPropertiesPtr; }
oox::drawingml::Color& getBackgroundColor() { return maBackgroundColor; }
bool isMasterPage() const { return mbMaster; }
-1
View File
@@ -121,7 +121,6 @@ public:
vcl::Window* GetWindow() const
{ return pWindow; }
void SetController(const std::shared_ptr<SfxDialogController>& controller) { xController = controller; }
void ClearController() { xController.reset(); }
std::shared_ptr<SfxDialogController>& GetController() { return xController; }
const std::shared_ptr<SfxDialogController>& GetController() const { return xController; }
vcl::Window* GetParent() const
-1
View File
@@ -78,7 +78,6 @@ public:
bool IsOwnFormat() const { return bool(nFormatType & SfxFilterFlags::OWN); }
/// If the filter supports digital signatures.
bool GetSupportsSigning() const { return bool(nFormatType & SfxFilterFlags::SUPPORTSSIGNING); }
bool GetGpgEncryption() const { return bool(nFormatType & SfxFilterFlags::GPGENCRYPTION); }
bool IsOwnTemplateFormat() const { return bool(nFormatType & SfxFilterFlags::TEMPLATEPATH); }
bool IsMSOFormat() const
{
-2
View File
@@ -475,8 +475,6 @@ public:
void SetLOKLanguageAndLocale(const OUString& rBcp47LanguageTag);
/// Get the LibreOfficeKit calendar of this view.
CalendarWrapper& GetLOKCalendar();
/// Get the form factor of the device where the lok client is running.
LOKDeviceFormFactor GetLOKDeviceFormFactor() const { return maLOKDeviceFormFactor; }
/// Check if the lok client is running on a desktop machine.
bool isLOKDesktop() const { return maLOKDeviceFormFactor == LOKDeviceFormFactor::DESKTOP; }
/// Check if the lok client is running on a tablet.
-2
View File
@@ -198,7 +198,6 @@ private:
assert(false && "missing bounds check before use");
return 0;
}
sal_uInt16 GetSize_Impl() const { return mnEnd - mnStart + 1; }
SfxItemPool* getTargetPool(sal_uInt16 nWhich) const;
// moved to private: use the access methods, e.g. NeedsSurrogateSupport
@@ -258,7 +257,6 @@ public:
virtual MapUnit GetMetric( sal_uInt16 nWhich ) const;
void SetDefaultMetric( MapUnit eNewMetric );
MapUnit GetDefaultMetric() const { return eDefMetric; }
/** Request string representation of pool items.
-2
View File
@@ -658,8 +658,6 @@ public:
bool isSetItem() const { return m_bIsSetItem; }
bool isShareable() const { return m_bShareable; }
bool isNameOrIndex() const { return m_bNameOrIndex; }
bool isPooled() const { return GetRefCount() > 0; }
// version that allows nullptrs
static bool areSame(const SfxPoolItem* pItem1, const SfxPoolItem* pItem2);
-1
View File
@@ -53,7 +53,6 @@ public:
const OUString& getName() const { return m_sName; }
const OUString& getDisplayName() const { return m_sDisplayName; }
Color getColor() const { return m_nColor; }
Color getDefaultColor() const { return m_nDefaultColor; }
void setColor(Color _nColor) { m_nColor = _nColor; }
};
-3
View File
@@ -57,9 +57,6 @@ public:
void SetScrollHdl(const Link<weld::Scrollbar&, void>& rLink);
void SetMouseReleaseHdl(const Link<const MouseEvent&, bool>& rLink);
// what is it
bool IsHoriScroll() const { return m_bHori; }
ScrollType GetScrollType() const;
virtual void EnableRTL(bool bEnable = true) override;
-6
View File
@@ -44,12 +44,6 @@ public:
{
}
/// Returns the text to display, which is the Abbreviated Name, if provided, otherwise Name.
OUString const & getDisplayText() const
{
return !msAbbreviatedName.isEmpty() ? msAbbreviatedName : msName;
}
bool operator==(const ClassificationResult& rOther) const
{
return (meType == rOther.meType &&
-2
View File
@@ -331,8 +331,6 @@ private:
void ImpAddStyleSheet(SfxStyleSheet& rNewStyleSheet);
SdrPageProperties& operator=(const SdrPageProperties& rCandidate) = delete;
void sendLOKitThemeChangedCallback();
public:
// construct/destruct
SdrPageProperties(SdrPage& rSdrPage);
-1
View File
@@ -515,7 +515,6 @@ public:
/// the loading there. When such an object is done loading, it is displayed.
/// TODO: Only works at the moment, if SwapGraphics is enabled in the model.
/// The default = false flag is non-persistent
bool IsSwapAsynchron() const { return mbSwapAsynchron; }
void SetSwapAsynchron(bool bJa=true) { mbSwapAsynchron=bJa; }
virtual bool KeyInput(const KeyEvent& rKEvt, vcl::Window* pWin);
-5
View File
@@ -28,11 +28,6 @@
namespace color
{
constexpr sal_uInt32 extractRGB(sal_uInt32 nColorNumber)
{
return nColorNumber & 0x00FFFFFF;
}
constexpr sal_uInt8 ColorChannelMerge(sal_uInt8 nDst, sal_uInt8 nSrc, sal_uInt8 nSrcTrans)
{
return sal_uInt8(((sal_Int32(nDst) - nSrc) * nSrcTrans + ((nSrc << 8) | nDst)) >> 8);
-35
View File
@@ -62,41 +62,6 @@ TOOLS_DLLPUBLIC bool isCpuInstructionSetSupported(InstructionSetFlags eInstructi
*/
TOOLS_DLLPUBLIC OUString instructionSetSupportedString();
/** Check if SSE2 is supported by the CPU
*/
inline bool hasSSE2()
{
return isCpuInstructionSetSupported(InstructionSetFlags::SSE2);
}
/** Check if SSSE3 is supported by the CPU
*/
inline bool hasSSSE3()
{
return isCpuInstructionSetSupported(InstructionSetFlags::SSSE3);
}
/** Check if AVX is supported by the CPU
*/
inline bool hasAVX()
{
return isCpuInstructionSetSupported(InstructionSetFlags::AVX);
}
/** Check if AVX2 is supported by the CPU
*/
inline bool hasAVX2()
{
return isCpuInstructionSetSupported(InstructionSetFlags::AVX2);
}
/** Check if AVX512F is supported by the CPU
*/
inline bool hasAVX512F()
{
return isCpuInstructionSetSupported(InstructionSetFlags::AVX512F);
}
/** Check if Hyper Threading is supported
*/
inline bool hasHyperThreading()
-7
View File
@@ -441,9 +441,6 @@ public:
sal_uInt32 GetPort() const;
bool SetHost(std::u16string_view rTheHost)
{ return setHost(rTheHost, RTL_TEXTENCODING_UTF8); }
bool SetPort(sal_uInt32 nThePort);
// Path:
@@ -1046,10 +1043,6 @@ private:
EncodeMechanism eMechanism, rtl_TextEncoding eCharset,
bool bNetBiosName, OUStringBuffer* pCanonic);
bool setHost(
std::u16string_view rTheHost,
rtl_TextEncoding eCharset);
// Path:
TOOLS_DLLPRIVATE static bool parsePath(
-9
View File
@@ -97,15 +97,6 @@ public:
((nType & ~nCharClassNumericTypeMask) == 0);
}
/// whether type is pure alphanumeric or not, e.g. return of getCharacterType()
static bool isAlphaNumericType( sal_Int32 nType )
{
return ((nType & (nCharClassAlphaType |
nCharClassNumericType)) != 0) &&
((nType & ~(nCharClassAlphaTypeMask |
nCharClassNumericTypeMask)) == 0);
}
/// whether type is pure letter or not, e.g. return of getCharacterType()
static bool isLetterType( sal_Int32 nType )
{
-2
View File
@@ -246,8 +246,6 @@ public:
{ return getOneLocaleItem( css::i18n::LocaleItem::LONG_DATE_DAY_SEPARATOR ); }
const OUString& getLongDateMonthSep() const
{ return getOneLocaleItem( css::i18n::LocaleItem::LONG_DATE_MONTH_SEPARATOR ); }
const OUString& getLongDateYearSep() const
{ return getOneLocaleItem( css::i18n::LocaleItem::LONG_DATE_YEAR_SEPARATOR ); }
/** A wrapper around rtl::math::stringToDouble() using the locale dependent
decimal separator, group separator, and if needed decimal separator
-2
View File
@@ -79,8 +79,6 @@ public:
OUString GetSigningKey () const;
OUString GetEncryptionKey () const;
bool GetEncryptToSelf () const;
OUString GetSigningKeyDisplayName () const;
OUString GetEncryptionKeyDisplayName () const;
OUString GetFullName () const;
-17
View File
@@ -93,23 +93,6 @@ public:
m_nStartTicks = tools::Time::GetSystemTicks();
m_nIterStartTicks = m_nStartTicks;
}
/**
* Sets the input events, which should also "exceed" the stopwatch.
*
* Per default this ignores the VclInputFlags::TIMER.
*/
void setInputStop(VclInputFlags eInputStop = eDefaultInputStop) { m_eInputStop = eInputStop; }
VclInputFlags inputStop() const { return m_eInputStop; }
/**
* Sets the time considered the acceptable maximum for a task to run
*
* This is an orientation for long time background jobs to yield to
* the scheduler, so Idle task don't starve each other too much.
**/
static unsigned int timeSlice() { return m_nTimeSlice; }
static void setTimeSlice(unsigned int nTimeSlice) { m_nTimeSlice = nTimeSlice; }
};
#endif // INCLUDED_VCL_TASK_STOPWATCH_HXX
-8
View File
@@ -89,9 +89,6 @@ class VCL_DLLPUBLIC PDFObjectElement final : public PDFElement
std::vector<std::unique_ptr<PDFElement>> m_aElements;
/// Uncompressed buffer of an object in an object stream.
std::unique_ptr<SvMemoryStream> m_pStreamBuffer;
/// List of all reference elements inside this object's dictionary and
/// nested dictionaries.
std::vector<PDFReferenceElement*> m_aDictionaryReferences;
bool m_bParsed;
@@ -115,8 +112,6 @@ public:
PDFNameElement* GetNameElement() const;
/// Get access to the parsed key-value items from the object dictionary.
const std::map<OString, PDFElement*>& GetDictionaryItems();
SAL_DLLPRIVATE const std::vector<PDFReferenceElement*>& GetDictionaryReferences() const;
SAL_DLLPRIVATE void AddDictionaryReference(PDFReferenceElement* pReference);
SAL_DLLPRIVATE void SetArray(PDFArrayElement* pArrayElement);
SAL_DLLPRIVATE void SetStream(PDFStreamElement* pStreamElement);
/// Access to the stream of the object, if it has any.
@@ -170,8 +165,6 @@ class VCL_DLLPUBLIC PDFReferenceElement final : public PDFElement
int m_fGenerationValue;
/// Location after the 'R' token.
sal_uInt64 m_nOffset = 0;
/// The element providing the object number.
PDFNumberElement& m_rObject;
public:
PDFReferenceElement(PDFDocument& rDoc, PDFNumberElement& rObject,
@@ -184,7 +177,6 @@ public:
int GetObjectValue() const;
int GetGenerationValue() const;
SAL_DLLPRIVATE sal_uInt64 GetOffset() const;
SAL_DLLPRIVATE PDFNumberElement& GetObjectElement() const;
void writeString(OStringBuffer& rBuffer) override
{
-2
View File
@@ -447,7 +447,6 @@ public:
const Color& GetInactiveTabColor() const;
void SetAlternatingRowColor(const Color& rColor);
SAL_DLLPRIVATE const Color& GetAlternatingRowColor() const;
void SetHighContrastMode(bool bHighContrast );
bool GetHighContrastMode() const;
@@ -576,7 +575,6 @@ public:
void SetToolbarIconSize( ToolbarIconSize nSize );
ToolbarIconSize GetToolbarIconSize() const;
SAL_DLLPRIVATE Size GetToolbarIconSizePixel() const;
/** Set the icon theme to use. */
void SetIconTheme(const OUString&);
-2
View File
@@ -43,7 +43,6 @@ class VCL_DLLPUBLIC ThemeColors
public:
static ThemeColors& GetThemeColors() { return m_aThemeColors; }
static void SetThemeColors(const ThemeColors& rThemeColors) { m_aThemeColors = rThemeColors; }
static bool IsThemeCached() { return m_bIsThemeCached; }
static void SetThemeCached(bool bCached) { m_bIsThemeCached = bCached; }
@@ -147,7 +146,6 @@ public:
const Color& GetMenuHighlightColor() const { return m_aMenuHighlightColor; }
const Color& GetMenuHighlightTextColor() const { return m_aMenuhighlightTextColor; }
const Color& GetMenuBorderColor() const { return m_aMenuBorderColor; }
const Color& GetInactiveColor() const { return m_aInactiveColor; }
const Color& GetInactiveTextColor() const { return m_aInactiveTextColor; }
const Color& GetInactiveBorderColor() const { return m_aInactiveBorderColor; }
const OUString& GetThemeName() const { return m_sThemeName; }
-4
View File
@@ -38,10 +38,6 @@ public:
{
insert_item(-1, rId, rStr, nullptr, nullptr, TRISTATE_TRUE);
}
void append_item_radio(const OUString& rId, const OUString& rStr)
{
insert_item(-1, rId, rStr, nullptr, nullptr, TRISTATE_FALSE);
}
void append_item(const OUString& rId, const OUString& rStr, const OUString& rImage)
{
insert_item(-1, rId, rStr, &rImage, nullptr, TRISTATE_INDET);
@@ -2021,18 +2021,6 @@ bool LayoutNode::setupShape( const SmartArtDiagram& rDgm, const ShapePtr& rShape
return true;
}
const LayoutNode* LayoutNode::getParentLayoutNode() const
{
for (LayoutAtomPtr pAtom = getParent(); pAtom; pAtom = pAtom->getParent())
{
auto pLayoutNode = dynamic_cast<LayoutNode*>(pAtom.get());
if (pLayoutNode)
return pLayoutNode;
}
return nullptr;
}
void ShapeAtom::accept( LayoutAtomVisitor& rVisitor )
{
rVisitor.visit(*this);
@@ -348,8 +348,6 @@ public:
{ mpExistingShape = pShape; }
const ShapePtr& getExistingShape() const
{ return mpExistingShape; }
const std::vector<ShapePtr> & getNodeShapes() const
{ return mpNodeShapes; }
void addNodeShape(const ShapePtr& pShape)
{ mpNodeShapes.push_back(pShape); }
@@ -357,8 +355,6 @@ public:
const svx::diagram::Point* pPresNode,
sal_Int32 nCurrIdx ) const;
const LayoutNode* getParentLayoutNode() const;
private:
VarMap mVariables;
OUString msMoveWith;
@@ -91,8 +91,6 @@ DMLPresetShapeExporter::~DMLPresetShapeExporter(){
// Do nothing
};
bool DMLPresetShapeExporter::HasHandleValue() const { return m_bHasHandleValues; }
const OUString& DMLPresetShapeExporter::GetShapeType() const { return m_sPresetShapeType; }
const css::uno::Sequence<css::uno::Sequence<css::beans::PropertyValue>>&
-7
View File
@@ -627,13 +627,6 @@ void DrawingML::WriteGradientStop(double fOffset, const basegfx::BColor& rColor,
mpFS->endElementNS( XML_a, XML_gs );
}
::Color DrawingML::ColorWithIntensity( sal_uInt32 nColor, sal_uInt32 nIntensity )
{
return ::Color(ColorTransparency, ( ( ( nColor & 0xff ) * nIntensity ) / 100 )
| ( ( ( ( ( nColor & 0xff00 ) >> 8 ) * nIntensity ) / 100 ) << 8 )
| ( ( ( ( ( nColor & 0xff0000 ) >> 8 ) * nIntensity ) / 100 ) << 8 ));
}
void DrawingML::WriteGradientFill( const Reference< XPropertySet >& rXPropSet )
{
if (!GetProperty(rXPropSet, u"FillGradient"_ustr))
-2
View File
@@ -72,8 +72,6 @@ private:
public:
ExternalDataSource(OUString aURL, OUString aProvider, ScDocument* pDoc);
void setUpdateFrequency(double nUpdateFrequency);
void setID(const OUString& rID);
void setURL(const OUString& rURL);
void setProvider(const OUString& rProvider);
-1
View File
@@ -968,7 +968,6 @@ public:
SC_DLLPUBLIC SCROW MaxRow() const { return mxSheetLimits->mnMaxRow; }
SC_DLLPUBLIC SCCOL GetMaxColCount() const { return mxSheetLimits->GetMaxColCount(); }
SC_DLLPUBLIC SCROW GetMaxRowCount() const { return mxSheetLimits->GetMaxRowCount(); }
SC_DLLPUBLIC const OUString & MaxRowAsString() const { return mxSheetLimits->MaxRowAsString(); }
SC_DLLPUBLIC const OUString & MaxColAsString() const { return mxSheetLimits->MaxColAsString(); }
ScSheetLimits& GetSheetLimits() const { return *mxSheetLimits; }
[[nodiscard]] bool ValidCol(SCCOL nCol) const { return ::ValidCol(nCol, mxSheetLimits->mnMaxCol); }
-22
View File
@@ -373,28 +373,6 @@ ProcessElements1(
return it;
};
template<typename StoreT, typename Blk1, typename Blk2, typename FuncElem, typename FuncElse>
void ProcessElements2(StoreT& rStore, FuncElem& rFuncElem, FuncElse& rFuncElse)
{
typename StoreT::size_type nTopRow = 0, nDataSize = 0;
typename StoreT::iterator it = rStore.begin(), itEnd = rStore.end();
for (; it != itEnd; ++it, nTopRow += nDataSize)
{
nDataSize = it->size;
switch (it->type)
{
case Blk1::block_type:
EachElem<Blk1, typename Blk1::iterator>(*it, rFuncElem);
break;
case Blk2::block_type:
EachElem<Blk2, typename Blk2::iterator>(*it, rFuncElem);
break;
default:
rFuncElse(it->type, nTopRow, nDataSize);
}
}
}
template<typename StoreT, typename Blk1, typename Blk2, typename FuncElem, typename FuncElse>
void ProcessElements2Reverse(StoreT& rStore, FuncElem& rFuncElem, FuncElse& rFuncElse)
{
-3
View File
@@ -149,9 +149,6 @@ public:
explicit VmlDrawing( const WorksheetHelper& rHelper );
/** Returns the drawing shape for a cell note at the specified position. */
const ::oox::vml::ShapeBase* getNoteShape( const ScAddress& rPos ) const;
NoteShapesMap buildNoteShapesMap() const;
/** Filters cell note shapes. */
-2
View File
@@ -241,8 +241,6 @@ public:
void setAttributes(const AttributeList& rAttribs);
bool isPreserveSpace() const { return mbPreserveSpace; }
private:
/** Creates, appends, and returns a new empty string portion. */
sal_Int32 createPortion();
-1
View File
@@ -208,7 +208,6 @@ private:
sal_uInt16 m_nRek; // recursion counter
#endif
bool GrowTripel( sal_uInt16 nByMin );
bool GrowId();
bool GrowMatrix();
/** @return false means nElementCurrent range
-32
View File
@@ -397,33 +397,6 @@ void DrawingFragment::applyFontRefColor(const oox::drawingml::ShapePtr& pShape,
// VML
namespace {
class VmlFindNoteFunc
{
public:
explicit VmlFindNoteFunc( const ScAddress& rPos );
bool operator()( const ::oox::vml::ShapeBase& rShape ) const;
private:
sal_Int32 mnCol;
sal_Int32 mnRow;
};
VmlFindNoteFunc::VmlFindNoteFunc( const ScAddress& rPos ) :
mnCol( rPos.Col() ),
mnRow( rPos.Row() )
{
}
bool VmlFindNoteFunc::operator()( const ::oox::vml::ShapeBase& rShape ) const
{
const ::oox::vml::ClientData* pClientData = rShape.getClientData();
return pClientData && (pClientData->mnCol == mnCol) && (pClientData->mnRow == mnRow);
}
} // namespace
VmlControlMacroAttacher::VmlControlMacroAttacher( const OUString& rMacroName,
const Reference< XIndexContainer >& rxCtrlFormIC, sal_Int32 nCtrlIndex, sal_Int32 nCtrlType, sal_Int32 nDropStyle ) :
VbaMacroAttacherBase( rMacroName ),
@@ -498,11 +471,6 @@ VmlDrawing::VmlDrawing( const WorksheetHelper& rHelper ) :
maListBoxFont.monSize = 160;
}
const ::oox::vml::ShapeBase* VmlDrawing::getNoteShape( const ScAddress& rPos ) const
{
return getShapes().findShape( VmlFindNoteFunc( rPos ) );
}
VmlDrawing::NoteShapesMap VmlDrawing::buildNoteShapesMap() const
{
VmlDrawing::NoteShapesMap aMap;
@@ -83,21 +83,11 @@ CSVFetchThread::~CSVFetchThread()
{
}
bool CSVFetchThread::IsRequestedTerminate()
{
return mbTerminate.load();
}
void CSVFetchThread::RequestTerminate()
{
mbTerminate.store(true);
}
void CSVFetchThread::EndThread()
{
RequestTerminate();
}
void CSVFetchThread::execute()
{
OStringBuffer aBuffer(64000);
@@ -1266,11 +1266,6 @@ SCROW SwapRowsTransformation::getFirstRow() const
return mxRow;
}
SCROW SwapRowsTransformation::getSecondRow() const
{
return nxRow;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-2
View File
@@ -56,9 +56,7 @@ public:
virtual ~CSVFetchThread() override;
void RequestTerminate();
bool IsRequestedTerminate();
void Terminate();
void EndThread();
bool IsParseError() const { return mbIsParseError; }
const std::exception_ptr & GetLastException() const { return mpLastException; }
-4
View File
@@ -60,7 +60,6 @@ private:
ScDBData* pDBData;
ScDBCollection* mpDestDBCollection;
DECL_LINK(StartMenuHdl, const OString&, void);
DECL_LINK(ColumnMenuHdl, const weld::ComboBox&, void);
DECL_LINK(ScrollToEnd, Timer*, void);
DECL_LINK(ApplyQuitHdl, weld::Button&, void);
@@ -78,9 +77,6 @@ public:
const ScDocument* pDocument);
virtual ~ScDataProviderDlg() override;
void applyAndQuit();
void cancelAndQuit();
void deleteColumn();
void splitColumn();
void mergeColumns();
-1
View File
@@ -222,7 +222,6 @@ class SwapRowsTransformation : public DataTransformation
virtual void Transform(ScDocument& rDoc) const override;
virtual TransformationType getTransformationType() const override;
SCROW getFirstRow() const;
SCROW getSecondRow() const;
};
}
-3
View File
@@ -439,8 +439,6 @@ public:
SCROW GetCurYForTab( SCTAB nTabIndex ) const;
SCCOL GetOldCurX() const;
SCROW GetOldCurY() const;
tools::Long GetLOKDocWidthPixel() const { return pThisTab->aWidthHelper.getPosition(pThisTab->nMaxTiledCol); }
tools::Long GetLOKDocHeightPixel() const { return pThisTab->aHeightHelper.getPosition(pThisTab->nMaxTiledRow); }
ScPositionHelper& GetLOKWidthHelper() { return pThisTab->aWidthHelper; }
ScPositionHelper& GetLOKHeightHelper() { return pThisTab->aHeightHelper; }
@@ -595,7 +593,6 @@ public:
const ScViewOptions& GetOptions() const { return maOptions; }
SC_DLLPUBLIC void SetOptions( const ScViewOptions& rOpt );
bool IsGridMode () const { return maOptions.GetOption(sc::ViewOption::GRID); }
bool IsSyntaxMode () const { return maOptions.GetOption(sc::ViewOption::SYNTAX); }
void SetSyntaxMode ( bool bNewMode ) { maOptions.SetOption(sc::ViewOption::SYNTAX, bNewMode); }
bool IsHeaderMode () const { return maOptions.GetOption(sc::ViewOption::HEADER); }
@@ -63,8 +63,6 @@ public:
int getGeneration() { return mnGeneration; }
int getLastChange() { return mnLastChange; }
void initialize()
{
mnGeneration = 0;
@@ -81,8 +81,6 @@ public:
int getGeneration() { return mnGeneration; }
int getLastChange() { return mnLastChange; }
void initialize()
{
mnGeneration = 0;
-2
View File
@@ -606,8 +606,6 @@ double box2DWorld::stepAmount(const double fPassedTime)
return fTimeSteppedThrough;
}
bool box2DWorld::shapesInitialized() { return mbShapesInitialized; }
bool box2DWorld::isInitialized() const
{
if (mpBox2DWorld)
-2
View File
@@ -240,8 +240,6 @@ public:
*/
double stepAmount(const double fPassedTime);
/// @return whether shapes in the slide are initialized as Box2D bodies or not
bool shapesInitialized();
/// @return whether the Box2D World is initialized or not
bool isInitialized() const;
-10
View File
@@ -96,16 +96,6 @@ public:
double getImportedShapesCount() const{ return mnAscendingPrio; }
void setMasterPageObjectsOnly(bool bMasterPageObjectsOnly)
{
mbMasterPageObjectsOnly = bMasterPageObjectsOnly;
}
void setTextFieldsOnly(bool bTextFieldsOnly)
{
mbTextFieldsOnly = bTextFieldsOnly;
}
private:
bool isSkip( css::uno::Reference<css::beans::XPropertySet> const& xPropSet,
std::u16string_view shapeType,
-9
View File
@@ -109,15 +109,6 @@ public:
return m_aSmMlAttributeValueType == SmMlAttributeValueType::NMlEmpty;
};
/**
* Compares the type of attribute with a given one.
* Attribute Value Type
*/
bool isMlAttributeValueType(SmMlAttributeValueType aAttributeValueType) const
{
return m_aSmMlAttributeValueType == aAttributeValueType;
};
/**
* Set the type of attribute we are dealing with.
* @param Attribute Value Type
-36
View File
@@ -95,49 +95,13 @@ public: // Element type
*/
SmMlElementType getMlElementType() const { return m_aElementType; };
/**
* Check if the mathml element is of a given type
* @param aElementType
* @return is mathml element type
*/
bool isMlElementType(SmMlElementType aElementType) const
{
return m_aElementType == aElementType;
};
public: // location in the source
/**
* Returns the location in the source code of the node type
* @return selection
*/
const ESelection& getESelection() const { return m_aESelection; };
/**
* Returns the location in the source code of the node type
* @return selection
*/
const ESelection& getESelectionReference() const { return m_aESelection; };
/**
* Sets the location in the source code of the node type
* @param aESelection
*/
void setESelection(ESelection aESelection) { m_aESelection = aESelection; };
/**
* Gets the line in the text where the node is located.
* It is used to do the visual <-> text correspondence.
* @return line
*/
sal_Int32 GetSourceCodeRow() const { return m_aESelection.start.nPara; }
/**
* Gets the column of the line in the text where the node is located.
* It is used to do the visual <-> text correspondence.
* @return column
*/
sal_Int32 GetSourceCodeColumn() const { return m_aESelection.start.nIndex; }
public: // attributes
/**
* Returns the amount of available attributes
-4
View File
@@ -48,10 +48,6 @@ public:
*/
bool getSuccess() const { return m_bSuccess; }
/** Get's if xmlns field is added
*/
bool getUseExportTag() const { return m_bUseExportTag; }
/** Set's if xmlns field is added
*/
void setUseExportTag(bool bUseExportTag) { m_bUseExportTag = bUseExportTag; }
-51
View File
@@ -18,55 +18,6 @@
namespace mathml
{
template <typename runType>
void SmMlIteratorBottomToTop(SmMlElement* pMlElementTree, runType aRunType, void* aData)
{
if (pMlElementTree == nullptr)
return;
SmMlElement* pCurrent;
// Fetch the deepest element
pCurrent = pMlElementTree;
while (pCurrent->getSubElementsCount() != 0)
{
if (pCurrent->getSubElement(0) == nullptr)
break;
pCurrent = pCurrent->getSubElement(0);
}
do
{
// Fetch next element
size_t nId = pCurrent->getSubElementId();
// We are back to the top.
if (pCurrent->getParentElement() == nullptr)
break;
// If this was the last, then turn back to the parent
if (nId + 1 == pCurrent->getParentElement()->getSubElementsCount())
pCurrent = pCurrent->getParentElement();
else // If not, next is the one near it
{
// It could have sub elements
if (pCurrent->getParentElement()->getSubElement(nId + 1) == nullptr)
break;
pCurrent = pCurrent->getParentElement()->getSubElement(nId + 1);
// Fetch the deepest element
while (pCurrent->getSubElementsCount() != 0)
{
if (pCurrent->getSubElement(0) == nullptr)
break;
pCurrent = pCurrent->getSubElement(0);
}
}
// Just in case of, but should be forbidden
if (pCurrent != nullptr)
aRunType(pCurrent, aData);
} while (pCurrent != nullptr);
}
template <typename runType>
void SmMlIteratorTopToBottom(SmMlElement* pMlElementTree, runType aRunType, void* aData)
{
@@ -118,8 +69,6 @@ void SmMlIteratorTopToBottom(SmMlElement* pMlElementTree, runType aRunType, void
void SmMlIteratorFree(SmMlElement* pMlElementTree);
SmMlElement* SmMlIteratorCopy(SmMlElement* pMlElementTree);
} // end namespace mathml
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
-1
View File
@@ -59,7 +59,6 @@ public:
bool Export(SfxMedium& rMedium);
void SetFlat(bool bIn) { bFlat = bIn; }
bool IsUseHTMLMLEntities() const { return m_bUseHTMLMLEntities; }
void SetUseHTMLMLEntities(bool bUseHTMLMLEntities)
{
m_bUseHTMLMLEntities = bUseHTMLMLEntities;
-8
View File
@@ -279,14 +279,6 @@ SmColorTokenTableEntry Identify_Color_Parser(sal_uInt32 cColor);
*/
SmColorTokenTableEntry Identify_Color_MATHML(sal_uInt32 cColor);
/**
* Identifies color from color code cColor.
* It will be returned with the dvipsnames syntax.
* @param cColor
* @param parser color
*/
SmColorTokenTableEntry Identify_Color_DVIPSNAMES(sal_uInt32 cColor);
/**
* Identifies color from color name.
* It will be returned with the parser syntax.
-7
View File
@@ -500,13 +500,6 @@ public:
using SmNode::GetSubNode;
virtual SmNode * GetSubNode(size_t nIndex) override;
/**
* Gets the subnode of index nIndex, used for operators.
* @param nIndex
* @return subnode of index nIndex
*/
SmNode * GetSubNodeBinMo(size_t nIndex) const;
/**
* Does the cleaning of the subnodes.
* @return
-40
View File
@@ -56,44 +56,4 @@ enum class SmNodeType : int_fast16_t
MathIdent // identities and variables
};
namespace starmathdatabase
{
inline bool isStructuralNode(SmNodeType aNodeTypeName)
{
return aNodeTypeName == SmNodeType::Table || aNodeTypeName == SmNodeType::Line
|| aNodeTypeName == SmNodeType::UnHor || aNodeTypeName == SmNodeType::BinHor
|| aNodeTypeName == SmNodeType::BinVer || aNodeTypeName == SmNodeType::BinDiagonal
|| aNodeTypeName == SmNodeType::SubSup || aNodeTypeName == SmNodeType::Matrix
|| aNodeTypeName == SmNodeType::Root || aNodeTypeName == SmNodeType::Expression
|| aNodeTypeName == SmNodeType::Brace || aNodeTypeName == SmNodeType::Bracebody
|| aNodeTypeName == SmNodeType::Oper || aNodeTypeName == SmNodeType::Align
|| aNodeTypeName == SmNodeType::Attribute || aNodeTypeName == SmNodeType::Font;
}
inline bool isBinOperatorNode(SmNodeType aNodeTypeName)
{
return aNodeTypeName == SmNodeType::BinHor || aNodeTypeName == SmNodeType::BinVer
|| aNodeTypeName == SmNodeType::BinDiagonal || aNodeTypeName == SmNodeType::SubSup;
}
inline bool isUnOperatorNode(SmNodeType aNodeTypeName)
{
return aNodeTypeName == SmNodeType::UnHor;
}
inline bool isOperatorNode(SmNodeType aNodeTypeName)
{
return aNodeTypeName == SmNodeType::BinHor || aNodeTypeName == SmNodeType::BinVer
|| aNodeTypeName == SmNodeType::BinDiagonal || aNodeTypeName == SmNodeType::SubSup
|| aNodeTypeName == SmNodeType::UnHor || aNodeTypeName == SmNodeType::Oper;
}
inline bool isStandaloneNode(SmNodeType aNodeTypeName)
{
return aNodeTypeName == SmNodeType::Text || aNodeTypeName == SmNodeType::Special
|| aNodeTypeName == SmNodeType::GlyphSpecial || aNodeTypeName == SmNodeType::Math
|| aNodeTypeName == SmNodeType::Blank || aNodeTypeName == SmNodeType::MathIdent;
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
-2
View File
@@ -28,8 +28,6 @@
namespace starmathdatabase
{
AbstractSmParser* GetDefaultSmParser();
AbstractSmParser* GetVersionSmParser(sal_uInt16 nVersion);
}
-1
View File
@@ -52,7 +52,6 @@ OUString SmResId(TranslateId aId);
namespace SmLocalizedSymbolData
{
OUString GetUiSymbolName( std::u16string_view rExportName );
OUString GetExportSymbolName( std::u16string_view rUiName );
OUString GetUiSymbolSetName( std::u16string_view rExportName );
OUString GetExportSymbolSetName( std::u16string_view rUiName );
-43
View File
@@ -16,38 +16,6 @@
namespace mathml
{
static inline void cloneElement(SmMlElement* aSmMlElement, void* aData)
{
// Prepare data
SmMlElement* aNewSmMlElement = new SmMlElement(*aSmMlElement);
SmMlElement* aCopyTree = *static_cast<SmMlElement**>(aData);
// Append data
aCopyTree->setSubElement(aCopyTree->getSubElementsCount(), aNewSmMlElement);
// Prepare for following
// If it has sub elements, then it will be the next
if (aSmMlElement->getSubElementsCount() != 0)
aCopyTree = aNewSmMlElement;
else // Otherwise remounts up to where it should be
{
while (aSmMlElement->getParentElement() != nullptr)
{
// get parent
SmMlElement* pParent = aSmMlElement->getParentElement();
aCopyTree = aCopyTree->getParentElement();
// was this the last branch ?
if (aSmMlElement->getSubElementId() + 1 != pParent->getSubElementsCount())
break; // no -> stop going up
// Prepare for next round
aSmMlElement = pParent;
}
}
// Closing extras
*static_cast<SmMlElement**>(aData) = aCopyTree;
}
void SmMlIteratorFree(SmMlElement* pMlElementTree)
{
if (pMlElementTree == nullptr)
@@ -59,17 +27,6 @@ void SmMlIteratorFree(SmMlElement* pMlElementTree)
delete pMlElementTree;
}
SmMlElement* SmMlIteratorCopy(SmMlElement* pMlElementTree)
{
if (pMlElementTree == nullptr)
return nullptr;
SmMlElement* aDummyElement = new SmMlElement();
SmMlIteratorTopToBottom(pMlElementTree, cloneElement, &aDummyElement);
SmMlElement* aResultElement = aDummyElement->getSubElement(0);
delete aDummyElement;
return aResultElement;
}
} // end namespace mathml
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
@@ -732,17 +732,6 @@ SmColorTokenTableEntry starmathdatabase::Identify_Color_MATHML(sal_uInt32 cColor
return SmColorTokenTableEntry(u""_ustr, TRGBA, cColor);
}
SmColorTokenTableEntry starmathdatabase::Identify_Color_DVIPSNAMES(sal_uInt32 cColor)
{
for (auto i = std::begin(aColorTokenTableDVIPS); i < std::end(aColorTokenTableDVIPS); ++i)
if (i->equals(cColor))
return SmColorTokenTableEntry(i);
if ((cColor & 0x00FFFFFF) == cColor)
return SmColorTokenTableEntry(u""_ustr, TRGB, cColor);
else
return SmColorTokenTableEntry(u""_ustr, TRGBA, cColor);
}
const SmColorTokenTableEntry*
starmathdatabase::Identify_ColorName_Parser(std::u16string_view colorname)
{
-12
View File
@@ -439,18 +439,6 @@ SmNode* SmStructureNode::GetSubNode(size_t nIndex)
return maSubNodes[nIndex];
}
SmNode* SmStructureNode::GetSubNodeBinMo(size_t nIndex) const
{
if(GetType()==SmNodeType::BinDiagonal)
{
if (nIndex==1)
nIndex = 2;
else if (nIndex==2)
nIndex = 1;
}
return maSubNodes[nIndex];
}
void SmStructureNode::GetAccessibleText( OUStringBuffer &rText ) const
{
ForEachNonNull(const_cast<SmStructureNode *>(this),
-14
View File
@@ -22,20 +22,6 @@
#include <smmod.hxx>
#include <cfgitem.hxx>
AbstractSmParser* starmathdatabase::GetDefaultSmParser()
{
switch (SmModule::get()->GetConfig()->GetDefaultSmSyntaxVersion())
{
case 5:
{
AbstractSmParser* aParser = new SmParser5();
return aParser;
}
default:
throw std::range_error("parser version limit");
}
}
AbstractSmParser* starmathdatabase::GetVersionSmParser(sal_uInt16 nVersion)
{
switch(nVersion)
-14
View File
@@ -54,20 +54,6 @@ OUString SmLocalizedSymbolData::GetUiSymbolName( std::u16string_view rExportName
return {};
}
OUString SmLocalizedSymbolData::GetExportSymbolName( std::u16string_view rUiName )
{
auto it = std::find_if(std::begin(RID_UI_SYMBOL_NAMES), std::end(RID_UI_SYMBOL_NAMES),
[&rUiName](const auto& rUISymbolTranslateId)
{ return rUiName == SmResId(rUISymbolTranslateId); });
if (it != std::end(RID_UI_SYMBOL_NAMES))
{
const char *pKey = it->getId();
return OUString(pKey, strlen(pKey), RTL_TEXTENCODING_UTF8);
}
return {};
}
OUString SmLocalizedSymbolData::GetUiSymbolSetName( std::u16string_view rExportName )
{
auto it = std::find_if(std::begin(RID_UI_SYMBOLSET_NAMES), std::end(RID_UI_SYMBOLSET_NAMES),
-6
View File
@@ -359,12 +359,6 @@ namespace svgio::svgreader
/// stroke content
const basegfx::BColor* getStroke() const;
/// context fill content
const basegfx::BColor* getContextFill() const;
/// context stroke content
const basegfx::BColor* getContextStroke() const;
/// stop color content
const basegfx::BColor& getStopColor() const;
-1
View File
@@ -320,7 +320,6 @@ namespace sw
#endif
m_pCurrent = m_pPosition = m_rRoot.m_pWriterListeners;
}
WriterListener* GetLeftOfPos() { return m_pPosition->m_pLeft; }
WriterListener* GetRightOfPos() { return m_pPosition->m_pRight; }
WriterListener* GoStart()
{
-2
View File
@@ -99,8 +99,6 @@ inline const SvxEscapementItem &SwAttrSet::GetEscapement(bool bInP) const
{ return Get( RES_CHRATR_ESCAPEMENT,bInP); }
inline const SvxCaseMapItem &SwAttrSet::GetCaseMap(bool bInP) const
{ return Get( RES_CHRATR_CASEMAP,bInP); }
inline const SvxNoHyphenItem &SwAttrSet::GetNoHyphenHere(bool bInP) const
{ return Get( RES_CHRATR_NOHYPHEN,bInP); }
inline const SvxEmphasisMarkItem &SwAttrSet::GetEmphasisMark( bool bInP ) const
{ return Get( RES_CHRATR_EMPHASIS_MARK, bInP ); }
inline const SvxTwoLinesItem &SwAttrSet::Get2Lines( bool bInP ) const
-3
View File
@@ -378,9 +378,6 @@ public:
/// Validate the paragraph signatures, if any, of the current text node.
void ValidateParagraphSignatures(SwTextNode* pNode, bool updateDontRemove);
/// Validate the current paragraph signatures, if any, at the cursor start.
void ValidateCurrentParagraphSignatures(bool updateDontRemove);
/// Validate all paragraph signatures.
void ValidateAllParagraphSignatures(bool updateDontRemove);
-1
View File
@@ -335,7 +335,6 @@ public:
void SetNameFromColumn( const OUString& rSet ) { m_aMiscConfig.m_sNameFromColumn = rSet;
m_aMiscConfig.SetModified();}
bool IsFileEncryptedFromColumn() const { return m_aMiscConfig.m_bIsPasswordFromColumn;}
void SetIsFileEncryptedFromColumn( bool bSet )
{
m_aMiscConfig.SetModified();
-1
View File
@@ -87,7 +87,6 @@ public:
void SetIncludeBOM( bool bVal ) { m_bIncludeBOM = bVal; }
bool GetIncludeHidden() const { return m_bIncludeHidden; }
void SetIncludeHidden( bool bVal ) { m_bIncludeHidden = bVal; }
void Reset();
-1
View File
@@ -228,7 +228,6 @@ public:
inline const SvxLanguageItem &GetLanguage( bool = true ) const;
inline const SvxEscapementItem &GetEscapement( bool = true ) const;
inline const SvxCaseMapItem &GetCaseMap( bool = true ) const;
inline const SvxNoHyphenItem &GetNoHyphenHere( bool = true ) const;
inline const SvxFontItem &GetCJKFont( bool = true ) const;
inline const SvxFontHeightItem &GetCJKSize( bool = true ) const;
inline const SvxLanguageItem &GetCJKLanguage( bool = true ) const;
-3
View File
@@ -256,9 +256,6 @@ public:
// Clears all textboxes of this node from the doc and also from here.
void ClearAll();
// If this is a group shape, that returns true.
bool IsGroupTextBox() const;
// This returns with the shape what this class belongs to.
SwFrameFormat* GetOwnerShape() { return m_pOwnerShapeFormat; };
-2
View File
@@ -1944,8 +1944,6 @@ void SwTextBoxNode::ClearAll()
}
}
bool SwTextBoxNode::IsGroupTextBox() const { return m_pTextBoxes.size() > 1; }
std::map<SdrObject*, SwFrameFormat*> SwTextBoxNode::GetAllTextBoxes() const
{
std::map<SdrObject*, SwFrameFormat*> aRet;
-12
View File
@@ -1861,18 +1861,6 @@ void SwEditShell::ValidateParagraphSignatures(SwTextNode* pNode, bool updateDont
lcl_ValidateParagraphSignatures(*GetDoc(), xParentText, updateDontRemove, aGraphNames);
}
void SwEditShell::ValidateCurrentParagraphSignatures(bool updateDontRemove)
{
SwDocShell* pDocShell = GetDoc()->GetDocShell();
if (!pDocShell || !GetCursor() || !GetCursor()->Start() || !IsParagraphSignatureValidationEnabled())
return;
SwPaM* pPaM = GetCursor();
const SwPosition* pPosStart = pPaM->Start();
SwTextNode* pNode = pPosStart->GetNode().GetTextNode();
ValidateParagraphSignatures(pNode, updateDontRemove);
}
void SwEditShell::ValidateAllParagraphSignatures(bool updateDontRemove)
{
SwDocShell* pDocShell = GetDoc()->GetDocShell();
@@ -79,7 +79,6 @@ public:
sal_Int32 getStart() { return m_nStart; }
sal_Int32 getEnd() { return m_nEnd; }
SwNode* getNode() { return m_pNode; }
SwTextFootnote* getTextFootnote() { return m_pTextFootnote; }
AccessibilityIssue& operator=(const AccessibilityIssue&) = default;
};
-3
View File
@@ -968,7 +968,6 @@ public:
public:
// if writer is NULL, dumps the layout structure as XML in layout.xml
virtual void dumpAsXml(xmlTextWriterPtr writer = nullptr) const = 0;
void dumpTopMostAsXml(xmlTextWriterPtr writer = nullptr) const;
void dumpInfosAsXml(xmlTextWriterPtr writer) const;
virtual void dumpAsXmlAttributes(xmlTextWriterPtr writer) const;
void dumpChildrenAsXml(xmlTextWriterPtr writer) const;
@@ -1468,8 +1467,6 @@ public:
tools::Long GetPrtRight (const SwFrame& rFrame) const { return (rFrame.*m_fnRect->fnGetPrtRight) (); }
tools::Long TopDist (const SwRect& rRect, tools::Long nPos) const { return (rRect.*m_fnRect->fnTopDist) (nPos); }
tools::Long BottomDist(const SwRect& rRect, tools::Long nPos) const { return (rRect.*m_fnRect->fnBottomDist) (nPos); }
tools::Long LeftDist (const SwRect& rRect, tools::Long nPos) const { return (rRect.*m_fnRect->fnLeftDist) (nPos); }
tools::Long RightDist (const SwRect& rRect, tools::Long nPos) const { return (rRect.*m_fnRect->fnRightDist) (nPos); }
bool SetLimit (SwFrame& rFrame, tools::Long nNew) const { return (rFrame.*m_fnRect->fnSetLimit) (nNew); }
bool OverStep (const SwRect& rRect, tools::Long nPos) const { return (rRect.*m_fnRect->fnOverStep) (nPos); }
-1
View File
@@ -127,7 +127,6 @@ public:
bool IsErgoSumPortion() const { return mnWhichPor == PortionType::ErgoSum; }
bool IsQuoVadisPortion() const { return mnWhichPor == PortionType::QuoVadis; }
bool IsTabLeftPortion() const { return mnWhichPor == PortionType::TabLeft; }
bool IsTabRightPortion() const { return mnWhichPor == PortionType::TabRight; }
bool IsTabCenterPortion() const { return mnWhichPor == PortionType::TabCenter; }
bool IsTabDecimalPortion() const { return mnWhichPor == PortionType::TabDecimal; }
bool IsFootnoteNumPortion() const { return mnWhichPor == PortionType::FootnoteNum; }
-11
View File
@@ -156,17 +156,6 @@ const char* sw::PortionTypeToString(PortionType nType)
return "Unknown";
}
void SwFrame::dumpTopMostAsXml(xmlTextWriterPtr writer) const
{
const SwFrame* pFrame = this;
while (pFrame->GetUpper())
{
pFrame = pFrame->GetUpper();
}
pFrame->dumpAsXml(writer);
}
void SwFrame::dumpInfosAsXml( xmlTextWriterPtr writer ) const
{
// output the Frame
+1 -41
View File
@@ -247,7 +247,7 @@ sal_Int32 INetURLObject::SubString::set(OUString & rString,
{
sal_Int32 nDelta = rSubString.size() - m_nLength;
rString = OUString::Concat(rString.subView(0, m_nBegin)) +
rString = OUString::Concat(rString.subView(0, m_nBegin)) +
rSubString + rString.subView(m_nBegin + m_nLength);
m_nLength = rSubString.size();
@@ -2967,46 +2967,6 @@ bool INetURLObject::parseHostOrNetBiosName(
return true;
}
bool INetURLObject::setHost(std::u16string_view rTheHost,
rtl_TextEncoding eCharset)
{
if (!getSchemeInfo().m_bHost)
return false;
OUStringBuffer aSynHost(rTheHost);
bool bNetBiosName = false;
switch (m_eScheme)
{
case INetProtocol::File:
{
if (OUString::unacquired(aSynHost).equalsIgnoreAsciiCase("localhost"))
{
aSynHost.setLength(0);
}
bNetBiosName = true;
}
break;
case INetProtocol::Ldap:
if (aSynHost.isEmpty() && m_aPort.isPresent())
return false;
break;
default:
if (aSynHost.isEmpty())
return false;
break;
}
if (!parseHostOrNetBiosName(
aSynHost.getStr(), aSynHost.getStr() + aSynHost.getLength(),
EncodeMechanism::WasEncoded, eCharset, bNetBiosName, &aSynHost))
return false;
sal_Int32 nDelta = m_aHost.set(m_aAbsURIRef, aSynHost);
m_aPort += nDelta;
m_aPath += nDelta;
m_aQuery += nDelta;
m_aFragment += nDelta;
return true;
}
// static
bool INetURLObject::parsePath(INetProtocol eScheme,
sal_Unicode const ** pBegin,
-2
View File
@@ -309,8 +309,6 @@ OUString SvtUserOptions::GetFax () const { return GetToken(UserOptTok
OUString SvtUserOptions::GetEmail () const { return GetToken(UserOptToken::Email); }
OUString SvtUserOptions::GetSigningKey () const { return GetToken(UserOptToken::SigningKey); }
OUString SvtUserOptions::GetEncryptionKey () const { return GetToken(UserOptToken::EncryptionKey); }
OUString SvtUserOptions::GetSigningKeyDisplayName () const { return GetToken(UserOptToken::SigningKeyDisplayName); }
OUString SvtUserOptions::GetEncryptionKeyDisplayName () const { return GetToken(UserOptToken::EncryptionKeyDisplayName); }
bool SvtUserOptions::IsTokenReadonly (UserOptToken nToken) const
{
-1
View File
@@ -128,7 +128,6 @@ VCL_DLLPUBLIC void
// Shared cache of images.
void addCachedImage(const OString& key, sk_sp<SkImage> image);
sk_sp<SkImage> findCachedImage(const OString& key);
void removeCachedImage(sk_sp<SkImage> image);
tools::Long maxImageCacheSize();
// Get checksum of the image content, only for raster images. Is cached,
-15
View File
@@ -740,21 +740,6 @@ sk_sp<SkImage> findCachedImage(const OString& key)
return nullptr;
}
void removeCachedImage(sk_sp<SkImage> image)
{
for (auto it = imageCache.begin(); it != imageCache.end();)
{
if (it->image == image)
{
imageCacheSize -= it->size;
assert(imageCacheSize >= 0);
it = imageCache.erase(it);
}
else
++it;
}
}
tools::Long maxImageCacheSize()
{
// Defaults to 4x 2000px 32bpp images, 64MiB.
-20
View File
@@ -1444,12 +1444,6 @@ void StyleSettings::SetAlternatingRowColor(const Color& rColor)
mxData->maColors.maAlternatingRowColor = rColor;
}
const Color&
StyleSettings::GetAlternatingRowColor() const
{
return mxData->maColors.maAlternatingRowColor;
}
void
StyleSettings::SetUseSystemUIFonts( bool bUseSystemUIFonts )
{
@@ -1929,20 +1923,6 @@ StyleSettings::GetToolbarIconSize() const
return mxData->mnToolbarIconSize;
}
Size StyleSettings::GetToolbarIconSizePixel() const
{
switch (GetToolbarIconSize())
{
case ToolbarIconSize::Large:
return Size(24, 24);
case ToolbarIconSize::Size32:
return Size(32, 32);
case ToolbarIconSize::Small:
default:
return Size(16, 16);
}
}
const DialogStyle&
StyleSettings::GetDialogStyle() const
{
-16
View File
@@ -1214,9 +1214,6 @@ bool PDFDocument::Tokenize(SvStream& rStream, TokenizeMode eMode,
auto pReference = new PDFReferenceElement(*this, *pObjectNumber,
*pGenerationNumber);
rElements.push_back(std::unique_ptr<PDFElement>(pReference));
if (bInObject && nDepth > 0 && pObject)
// Inform the object about a new in-dictionary reference.
pObject->AddDictionaryReference(pReference);
}
if (!rElements.back()->Read(rStream))
{
@@ -2511,16 +2508,6 @@ void PDFObjectElement::SetNameElement(PDFNameElement* pNameElement)
PDFNameElement* PDFObjectElement::GetNameElement() const { return m_pNameElement; }
const std::vector<PDFReferenceElement*>& PDFObjectElement::GetDictionaryReferences() const
{
return m_aDictionaryReferences;
}
void PDFObjectElement::AddDictionaryReference(PDFReferenceElement* pReference)
{
m_aDictionaryReferences.push_back(pReference);
}
const std::map<OString, PDFElement*>& PDFObjectElement::GetDictionaryItems()
{
parseIfNecessary();
@@ -2708,12 +2695,9 @@ PDFReferenceElement::PDFReferenceElement(PDFDocument& rDoc, PDFNumberElement& rO
: m_rDoc(rDoc)
, m_fObjectValue(rObject.GetValue())
, m_fGenerationValue(rGeneration.GetValue())
, m_rObject(rObject)
{
}
PDFNumberElement& PDFReferenceElement::GetObjectElement() const { return m_rObject; }
bool PDFReferenceElement::Read(SvStream& rStream)
{
SAL_INFO("vcl.filter",