From 7ba513361df3cdde639f80757a299721023d46a1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Jan 2023 14:48:38 +0200 Subject: loplugin:virtualdead GetPDFAnchorStructureElementId was added in commit 6e5d59c2ca696, but was unused even there Change-Id: Id0624cac2854f5406ca93a4c495632fc3c1d0e74 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146354 Tested-by: Jenkins Reviewed-by: Noel Grandin --- compilerplugins/clang/virtualdead.results | 22 +++++++++--- .../clang/virtualdead.unusedparams.results | 41 ++++++++++++++++------ 2 files changed, 48 insertions(+), 15 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/virtualdead.results b/compilerplugins/clang/virtualdead.results index 1a7b0add3948..d3b3e8435745 100644 --- a/compilerplugins/clang/virtualdead.results +++ b/compilerplugins/clang/virtualdead.results @@ -31,7 +31,7 @@ include/basegfx/utils/unopolypolygon.hxx:93 include/connectivity/sdbcx/IRefreshable.hxx:29 void connectivity::sdbcx::IRefreshableGroups::refreshGroups() empty -include/filter/msfilter/msdffimp.hxx:545 +include/filter/msfilter/msdffimp.hxx:547 _Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const 1 include/svl/svdde.hxx:236 @@ -67,12 +67,12 @@ include/unotools/desktopterminationobserver.hxx:36 include/vbahelper/vbahelperinterface.hxx:75 int InheritedHelperInterfaceImpl::getCreator() 1400204879 -sc/source/core/opencl/formulagroupcl.cxx:1075 - void sc::opencl::(anonymous namespace)::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class sc::opencl::outputstream &,) - empty -sc/source/core/opencl/opbase.hxx:212 +sc/source/core/opencl/opbase.hxx:333 _Bool sc::opencl::OpBase::takeNumeric()const 1 +sc/source/core/opencl/opbase.hxx:447 + void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class sc::opencl::outputstream &,) + empty sc/source/ui/vba/vbasheetobject.hxx:116 class rtl::OUString ScVbaSheetObjectBase::implGetBaseName()const "Button" @@ -82,15 +82,27 @@ sc/source/ui/vba/vbasheetobjects.cxx:145 slideshow/source/engine/animationfactory.cxx:617 void slideshow::internal::(anonymous namespace)::GenericAnimation::prefetch() empty +unoxml/inc/node.hxx:137 + _Bool DOM::CNode::IsChildTypeAllowed(const enum com::sun::star::xml::dom::NodeType,const enum com::sun::star::xml::dom::NodeType *const,) + 0 +vcl/inc/font/LogicalFontInstance.hxx:126 + void LogicalFontInstance::ImplInitHbFont(struct hb_font_t *,) + empty vcl/inc/qt5/QtFilePicker.hxx:182 void QtFilePicker::updateAutomaticFileExtension() empty +vcl/inc/salbmp.hxx:71 + _Bool SalBitmap::Create(const class com::sun::star::uno::Reference &,class Size &,_Bool,) + 0 vcl/inc/salframe.hxx:145 void SalFrame::SetRepresentedURL(const class rtl::OUString &,) empty vcl/inc/salframe.hxx:204 _Bool SalFrame::MapUnicodeToKeyCode(char16_t,struct o3tl::strong_int,class vcl::KeyCode &,) 0 +vcl/inc/salgdiimpl.hxx:79 + void SalGraphicsImpl::freeResources() + empty vcl/inc/salinst.hxx:95 _Bool SalInstance::SVMainHook(int *,) 0 diff --git a/compilerplugins/clang/virtualdead.unusedparams.results b/compilerplugins/clang/virtualdead.unusedparams.results index df9931e68826..0fa4b4b31bd3 100644 --- a/compilerplugins/clang/virtualdead.unusedparams.results +++ b/compilerplugins/clang/virtualdead.unusedparams.results @@ -70,7 +70,7 @@ include/drawinglayer/primitive2d/textbreakuphelper.hxx:58 include/editeng/editeng.hxx:494 void EditEngine::ParagraphConnected(int,int,) 01 -include/filter/msfilter/msdffimp.hxx:545 +include/filter/msfilter/msdffimp.hxx:547 _Bool SvxMSDffManager::ShapeHasText(unsigned long,unsigned long,)const 00 include/oox/dump/dumperbase.hxx:473 @@ -112,6 +112,9 @@ include/svx/IAccessibleParent.hxx:81 include/svx/selectioncontroller.hxx:48 _Bool sdr::SelectionController::onMouseButtonUp(const class MouseEvent &,class vcl::Window *,) 10 +include/svx/svdobj.hxx:133 + int SdrObjUserCall::GetPDFAnchorStructureElementId(const class SdrObject &,const class OutputDevice &,) + 10 include/vcl/accessibletable.hxx:90 class tools::Rectangle vcl::table::IAccessibleTable::GetFieldCharacterBounds(int,int,int,) 001 @@ -139,9 +142,15 @@ sc/inc/filter.hxx:83 sc/inc/formulagroup.hxx:144 class boost::intrusive_ptr sc::FormulaGroupInterpreter::inverseMatrix(const class ScMatrix &,) 0 -sc/source/core/opencl/formulagroupcl.cxx:1075 - void sc::opencl::(anonymous namespace)::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class sc::opencl::outputstream &,) +sc/source/core/opencl/opbase.hxx:447 + void sc::opencl::DynamicKernelSlidingArgument::GenSlidingWindowFunction(class sc::opencl::outputstream &,) 0 +sd/source/console/PresenterScrollBar.hxx:177 + double sdext::presenter::PresenterScrollBar::GetDragDistance(const int,const int,)const + 01 +sd/source/console/PresenterScrollBar.hxx:179 + double sdext::presenter::PresenterScrollBar::GetMinor(const double,const double,)const + 10 sdext/source/pdfimport/inc/contentsink.hxx:151 void pdfi::ContentSink::drawMask(const class com::sun::star::uno::Sequence &,_Bool,) 10 @@ -169,18 +178,15 @@ sdext/source/pdfimport/inc/treevisiting.hxx:52 sdext/source/pdfimport/inc/treevisiting.hxx:53 void pdfi::ElementTreeVisitor::visit(struct pdfi::DocumentElement &,const class __gnu_debug::_Safe_iterator >, class std::list >, struct std::bidirectional_iterator_tag> &,) 10 -sdext/source/presenter/PresenterScrollBar.hxx:177 - double sdext::presenter::PresenterScrollBar::GetDragDistance(const int,const int,)const - 01 -sdext/source/presenter/PresenterScrollBar.hxx:179 - double sdext::presenter::PresenterScrollBar::GetMinor(const double,const double,)const - 10 starmath/source/wordexportbase.hxx:28 void SmWordExportBase::HandleText(const class SmNode *,int,) 10 sw/inc/swcrsr.hxx:163 _Bool SwCursor::LeftRight(_Bool,unsigned short,enum SwCursorSkipMode,_Bool,_Bool,_Bool,const class SwRootFrame *,_Bool,) 11000000 +sw/qa/inc/swmodeltestbase.hxx:158 + void SwModelTestBase::postLoad(const char *,) + 0 sw/source/core/access/acccontext.hxx:349 _Bool SwAccessibleContext::SetSelectedState(_Bool,) 0 @@ -193,10 +199,25 @@ sw/source/filter/ww8/wrtww8.hxx:799 sw/source/filter/ww8/wrtww8.hxx:869 void MSWordExportBase::OutputGrfNode(const class SwGrfNode &,) 0 +unoxml/inc/node.hxx:137 + _Bool DOM::CNode::IsChildTypeAllowed(const enum com::sun::star::xml::dom::NodeType,const enum com::sun::star::xml::dom::NodeType *const,) + 00 vcl/inc/font/fontsubstitution.hxx:53 _Bool vcl::font::GlyphFallbackFontSubstitution::FindFontSubstitute(class vcl::font::FontSelectPattern &,class LogicalFontInstance *,class rtl::OUString &,)const 101 -vcl/inc/salbmp.hxx:79 +vcl/inc/font/LogicalFontInstance.hxx:126 + void LogicalFontInstance::ImplInitHbFont(struct hb_font_t *,) + 0 +vcl/inc/font/PhysicalFontFace.hxx:198 + const class std::vector & vcl::font::PhysicalFontFace::GetVariations(const class LogicalFontInstance &,)const + 0 +vcl/inc/salbmp.hxx:71 + _Bool SalBitmap::Create(const class com::sun::star::uno::Reference &,class Size &,_Bool,) + 000 +vcl/inc/salbmp.hxx:80 + _Bool SalBitmap::GetSystemData(struct BitmapSystemData &,) + 0 +vcl/inc/salbmp.hxx:86 _Bool SalBitmap::Replace(const class Color &,const class Color &,unsigned char,) 000 vcl/inc/salframe.hxx:145 -- cgit