diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-22 09:08:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-23 10:28:55 +0200 |
commit | fbb93bc1597e7631e7241597b0b826a179dae5d4 (patch) | |
tree | c5e25e2ecbbeff1b2f115c660ef736066fa581b9 /compilerplugins | |
parent | aceab9cbf10486d2179d016b36511d907d402825 (diff) |
loplugin:unusedfields
Change-Id: I1f69ec45e7d44e45a6ece1fe9d9eef8a2be2d6ff
Reviewed-on: https://gerrit.libreoffice.org/81361
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
4 files changed, 50 insertions, 38 deletions
diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results index 3da7b2eaa0d8..7216d60220cd 100644 --- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results +++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results @@ -172,6 +172,10 @@ drawinglayer/source/tools/emfphelperdata.hxx:153 emfplushelper::EmfPlusHelperData mnFrameRight sal_Int32 drawinglayer/source/tools/emfphelperdata.hxx:154 emfplushelper::EmfPlusHelperData mnFrameBottom sal_Int32 +editeng/source/accessibility/AccessibleHyperlink.hxx:46 + accessibility::AccessibleHyperlink nPara sal_Int32 +editeng/source/accessibility/AccessibleHyperlink.hxx:47 + accessibility::AccessibleHyperlink nRealIdx sal_uInt16 editeng/source/editeng/impedit.hxx:465 ImpEditEngine aSelFuncSet class EditSelFunctionSet filter/source/flash/swfwriter.hxx:391 @@ -388,8 +392,6 @@ libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.hxx:28 GtvLokDialog parent GtkDialog libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.hxx:33 GtvLokDialogClass parentClass GtkDialogClass -libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.cxx:265 - const std::string & libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.hxx:28 GtvMainToolbar parent GtkBox libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.hxx:36 @@ -532,7 +534,7 @@ sc/source/filter/inc/xetable.hxx:1005 XclExpCellTable maArrayBfr class XclExpArrayBuffer sc/source/filter/inc/xetable.hxx:1006 XclExpCellTable maShrfmlaBfr class XclExpShrfmlaBuffer -sc/source/filter/inc/xiescher.hxx:1207 +sc/source/filter/inc/xiescher.hxx:1206 XclImpDffPropSet maDummyStrm class SvMemoryStream sc/source/filter/inc/xihelper.hxx:328 XclImpCachedValue mxTokArr XclImpCachedValue::ScTokenArrayPtr @@ -740,6 +742,8 @@ sw/inc/unosett.hxx:145 SwXNumberingRules m_pImpl ::sw::UnoImplPtr<Impl> sw/qa/core/test_ToxTextGenerator.cxx:139 ToxTextGeneratorWithMockedChapterField mChapterFieldType class SwChapterFieldType +sw/qa/extras/uiwriter/uiwriter2.cxx:66 + class SwUiWriterTest2 * sw/qa/extras/uiwriter/uiwriter.cxx:4065 IdleTask maIdle class Idle sw/source/core/crsr/crbm.cxx:64 @@ -826,9 +830,9 @@ vcl/inc/WidgetThemeLibrary.hxx:90 vcl::ControlDrawParameters eState enum ControlState vcl/inc/WidgetThemeLibrary.hxx:106 vcl::WidgetThemeLibrary_t nSize uint32_t -vcl/source/app/salvtables.cxx:3040 +vcl/source/app/salvtables.cxx:3049 SalInstanceEntry m_aTextFilter class (anonymous namespace)::WeldTextFilter -vcl/source/app/salvtables.cxx:5527 +vcl/source/app/salvtables.cxx:5536 SalInstanceComboBoxWithEdit m_aTextFilter class (anonymous namespace)::WeldTextFilter vcl/source/gdi/jobset.cxx:35 ImplOldJobSetupData cDeviceName char [32] @@ -850,7 +854,7 @@ vcl/unx/gtk3/gtk3gloactiongroup.cxx:28 GLOAction parent_instance GObject vcl/unx/gtk3/gtk3glomenu.cxx:17 GLOMenu parent_instance const GMenuModel -vcl/unx/gtk3/gtk3gtkinst.cxx:4697 +vcl/unx/gtk3/gtk3gtkinst.cxx:4705 CrippledViewport viewport GtkViewport writerfilter/source/dmapper/PropertyMap.hxx:198 writerfilter::dmapper::SectionPropertyMap m_nDebugSectionNumber sal_Int32 diff --git a/compilerplugins/clang/unusedfields.readonly.results b/compilerplugins/clang/unusedfields.readonly.results index e0befdf37851..5a4856263b5c 100644 --- a/compilerplugins/clang/unusedfields.readonly.results +++ b/compilerplugins/clang/unusedfields.readonly.results @@ -370,6 +370,8 @@ include/unoidl/unoidl.hxx:453 unoidl::ConstantValue::(anonymous) doubleValue double include/unotest/bootstrapfixturebase.hxx:52 test::BootstrapFixtureBase m_directories class test::Directories +include/vcl/headbar.hxx:231 + HeaderBar maDragHdl Link<class HeaderBar *, void> include/vcl/opengl/OpenGLContext.hxx:48 OpenGLCapabilitySwitch mbLimitedShaderRegisters _Bool include/vcl/opengl/OpenGLContext.hxx:167 @@ -472,9 +474,9 @@ sc/source/filter/inc/xltracer.hxx:82 XclTracer mbEnabled _Bool sc/source/filter/xml/xmlcelli.hxx:96 ScXMLTableRowCellContext mbEditEngineHasText _Bool -sc/source/ui/inc/csvruler.hxx:36 +sc/source/ui/inc/csvruler.hxx:39 ScCsvRuler maBackgrDev ScopedVclPtrInstance<class VirtualDevice> -sc/source/ui/inc/csvruler.hxx:37 +sc/source/ui/inc/csvruler.hxx:40 ScCsvRuler maRulerDev ScopedVclPtrInstance<class VirtualDevice> sc/source/ui/inc/tabcont.hxx:38 ScTabControl bErrorShown _Bool @@ -720,8 +722,6 @@ vcl/inc/toolbox.h:108 vcl::ToolBoxLayoutData m_aLineItemIds std::vector<sal_uInt16> vcl/inc/unx/saldisp.hxx:282 SalDisplay m_aInvalidScreenData const struct SalDisplay::ScreenData -vcl/inc/unx/salgdi.h:306 - X11SalGraphics pFontGC_ GC vcl/inc/WidgetThemeLibrary.hxx:21 vcl::WidgetDrawStyle maFaceColor uint32_t vcl/inc/WidgetThemeLibrary.hxx:22 @@ -876,9 +876,7 @@ vcl/source/app/settings.cxx:184 ImplStyleData maDialogStyle struct DialogStyle vcl/source/control/roadmapwizard.cxx:62 vcl::RoadmapWizardImpl aStateDescriptors vcl::(anonymous namespace)::StateDescriptions -vcl/source/control/tabctrl.cxx:54 - ImplTabItem maHelpId class rtl::OString -vcl/source/control/tabctrl.cxx:79 +vcl/source/control/tabctrl.cxx:78 ImplTabCtrlData maLayoutPageIdToLine std::unordered_map<int, int> vcl/source/filter/jpeg/Exif.hxx:51 Exif::ExifIFD tag sal_uInt8 [2] @@ -956,7 +954,7 @@ vcl/unx/gtk3/gtk3gloactiongroup.cxx:28 GLOAction parent_instance GObject vcl/unx/gtk3/gtk3glomenu.cxx:17 GLOMenu parent_instance const GMenuModel -vcl/unx/gtk3/gtk3gtkinst.cxx:1588 +vcl/unx/gtk3/gtk3gtkinst.cxx:1596 out gpointer * writerfilter/inc/ooxml/QNameToString.hxx:41 writerfilter::QNameToString mMap writerfilter::QNameToString::Map diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results index 9c7428ae6063..7daabcd8d7a9 100644 --- a/compilerplugins/clang/unusedfields.untouched.results +++ b/compilerplugins/clang/unusedfields.untouched.results @@ -147,9 +147,9 @@ include/sfx2/msg.hxx:143 include/sfx2/msg.hxx:143 SfxType13 createSfxPoolItemFunc std::function<SfxPoolItem *(void)> include/sfx2/msg.hxx:143 - SfxType13 nAttribs sal_uInt16 -include/sfx2/msg.hxx:143 SfxType13 aAttrib struct SfxTypeAttrib [13] +include/sfx2/msg.hxx:143 + SfxType13 nAttribs sal_uInt16 include/sfx2/msg.hxx:144 SfxType14 pType const std::type_info * include/sfx2/msg.hxx:144 @@ -234,8 +234,6 @@ libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.hxx:28 GtvLokDialog parent GtkDialog libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.hxx:33 GtvLokDialogClass parentClass GtkDialogClass -libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.cxx:265 - const std::string & libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.hxx:28 GtvMainToolbar parent GtkBox libreofficekit/qa/gtktiledviewer/gtv-main-toolbar.hxx:36 @@ -326,7 +324,7 @@ sc/source/filter/html/htmlpars.cxx:3005 (anonymous namespace)::CSSHandler::MemStr mn size_t sc/source/filter/inc/sheetdatacontext.hxx:62 oox::xls::SheetDataContext aReleaser const class SolarMutexReleaser -sc/source/ui/inc/docsh.hxx:455 +sc/source/ui/inc/docsh.hxx:453 ScDocShellModificator mpProtector std::unique_ptr<ScRefreshTimerProtector> sc/source/ui/inc/PivotLayoutTreeListBase.hxx:48 ScPivotLayoutTreeListBase maDropTargetHelper class ScPivotLayoutTreeDropTarget @@ -386,6 +384,8 @@ svx/source/dialog/contimp.hxx:75 SvxSuperContourDlg aContourItem class SvxContourDlgItem svx/source/dialog/weldeditview.cxx:300 WeldEditSource m_rEditAcc class WeldEditAccessible & +sw/qa/extras/uiwriter/uiwriter2.cxx:66 + class SwUiWriterTest2 * sw/source/core/crsr/crbm.cxx:64 (anonymous namespace)::CursorStateHelper m_aSaveState const class SwCursorSaveState sw/source/core/frmedt/fetab.cxx:78 @@ -450,7 +450,7 @@ vcl/source/uitest/uno/uitest_uno.cxx:35 UITestUnoObj mpUITest std::unique_ptr<UITest> vcl/unx/gtk3/a11y/gtk3atkhypertext.cxx:29 HyperLink atk_hyper_link const AtkHyperlink -vcl/unx/gtk3/gtk3gtkinst.cxx:4697 +vcl/unx/gtk3/gtk3gtkinst.cxx:4705 CrippledViewport viewport GtkViewport writerfilter/source/ooxml/OOXMLStreamImpl.hxx:43 writerfilter::ooxml::OOXMLStreamImpl mxFastParser css::uno::Reference<css::xml::sax::XFastParser> diff --git a/compilerplugins/clang/unusedfields.writeonly.results b/compilerplugins/clang/unusedfields.writeonly.results index dc2f458c06c8..43f6da9b7c8e 100644 --- a/compilerplugins/clang/unusedfields.writeonly.results +++ b/compilerplugins/clang/unusedfields.writeonly.results @@ -268,6 +268,10 @@ drawinglayer/source/attribute/sdrsceneattribute3d.cxx:32 drawinglayer::attribute::ImpSdrSceneAttribute mfDistance double drawinglayer/source/tools/emfpcustomlinecap.hxx:34 emfplushelper::EMFPCustomLineCap mbIsFilled _Bool +editeng/source/accessibility/AccessibleHyperlink.hxx:46 + accessibility::AccessibleHyperlink nPara sal_Int32 +editeng/source/accessibility/AccessibleHyperlink.hxx:47 + accessibility::AccessibleHyperlink nRealIdx sal_uInt16 embeddedobj/source/inc/oleembobj.hxx:132 OleEmbeddedObject m_nTargetState sal_Int32 embeddedobj/source/inc/oleembobj.hxx:144 @@ -400,6 +404,10 @@ include/svx/fmtools.hxx:134 FmXDisposeListener m_pAdapter rtl::Reference<FmXDisposeMultiplexer> include/svx/gridctrl.hxx:255 DbGridControl m_pCursorDisposeListener std::unique_ptr<DisposeListenerGridBridge> +include/svx/langbox.hxx:71 + SvxLanguageBoxBase m_aNotCheckedImage class Image +include/svx/langbox.hxx:72 + SvxLanguageBoxBase m_aCheckedImage class Image include/svx/ofaitem.hxx:44 OfaRefItem mxRef rtl::Reference<reference_type> include/svx/srchdlg.hxx:162 @@ -428,6 +436,8 @@ include/vcl/NotebookBarAddonsMerger.hxx:57 AddonNotebookBarItem nWidth sal_uInt16 include/vcl/opengl/OpenGLContext.hxx:32 GLWindow bMultiSampleSupported _Bool +include/vcl/pdfextoutdevdata.hxx:83 + vcl::PDFExtOutDevData mbSinglePageSheets _Bool include/vcl/salnativewidgets.hxx:469 ToolbarValue mbIsTopDockingArea _Bool include/vcl/salnativewidgets.hxx:534 @@ -480,8 +490,6 @@ registry/source/reflread.cxx:466 ConstantPool::readDoubleConstant(sal_uInt16)::(anonymous union)::(anonymous) b2 sal_uInt32 reportdesign/inc/RptObject.hxx:72 rptui::OObjectBase m_xKeepShapeAlive css::uno::Reference<css::uno::XInterface> -reportdesign/source/ui/inc/CondFormat.hxx:69 - rptui::ConditionalFormattingDialog m_bDeletingCondition _Bool sal/qa/osl/file/osl_File.cxx:4154 osl_Directory::isOpen nError1 osl::class FileBase::RC sal/qa/osl/file/osl_File.cxx:4154 @@ -644,7 +652,7 @@ sd/source/ui/remotecontrol/Receiver.hxx:35 sd::Receiver pTransmitter class sd::Transmitter * sd/source/ui/sidebar/MasterPageContainerProviders.hxx:136 sd::sidebar::TemplatePreviewProvider msURL const class rtl::OUString -sd/source/ui/sidebar/SlideBackground.hxx:94 +sd/source/ui/sidebar/SlideBackground.hxx:93 sd::sidebar::SlideBackground m_pContainer VclPtr<class VclVBox> sd/source/ui/slideshow/slideshowimpl.hxx:333 sd::SlideshowImpl mpPaneHider ::std::unique_ptr<PaneHider> @@ -652,7 +660,7 @@ sd/source/ui/slideshow/SlideShowRestarter.hxx:70 sd::SlideShowRestarter mpSelf ::std::shared_ptr<SlideShowRestarter> sd/source/ui/slidesorter/controller/SlsListener.hxx:147 sd::slidesorter::controller::Listener mpModelChangeLock std::shared_ptr<SlideSorterController::ModelChangeLock> -sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx:119 +sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx:118 sd::slidesorter::controller::Clipboard mxUndoContext std::unique_ptr<UndoContext> sd/source/ui/view/ToolBarManager.cxx:315 sd::ToolBarManager::Implementation mpAsynchronousLayouterLock ::std::unique_ptr<LayouterLock> @@ -678,7 +686,7 @@ slideshow/source/engine/opengl/TransitionImpl.hxx:296 Vertex normal glm::vec3 slideshow/source/engine/opengl/TransitionImpl.hxx:297 Vertex texcoord glm::vec2 -slideshow/source/engine/slideshowimpl.cxx:1044 +slideshow/source/engine/slideshowimpl.cxx:1042 (anonymous namespace)::SlideShowImpl::PrefetchPropertiesFunc mpSlideShowImpl class (anonymous namespace)::SlideShowImpl *const slideshow/test/testview.cxx:53 ImplTestView maCreatedSprites std::vector<std::pair<basegfx::B2DVector, double> > @@ -750,23 +758,23 @@ svx/source/sdr/attribute/sdrtextattribute.cxx:53 drawinglayer::attribute::ImpSdrTextAttribute maPropertiesVersion sal_uInt32 svx/source/sdr/attribute/sdrtextattribute.cxx:67 drawinglayer::attribute::ImpSdrTextAttribute mbWrongSpell const _Bool -svx/source/sidebar/line/LinePropertyPanel.hxx:97 +svx/source/sidebar/line/LinePropertyPanel.hxx:96 svx::sidebar::LinePropertyPanel maStyleControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:98 +svx/source/sidebar/line/LinePropertyPanel.hxx:97 svx::sidebar::LinePropertyPanel maDashControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:100 +svx/source/sidebar/line/LinePropertyPanel.hxx:99 svx::sidebar::LinePropertyPanel maStartControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:101 +svx/source/sidebar/line/LinePropertyPanel.hxx:100 svx::sidebar::LinePropertyPanel maEndControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:102 +svx/source/sidebar/line/LinePropertyPanel.hxx:101 svx::sidebar::LinePropertyPanel maLineEndListControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:103 +svx/source/sidebar/line/LinePropertyPanel.hxx:102 svx::sidebar::LinePropertyPanel maLineStyleListControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:104 +svx/source/sidebar/line/LinePropertyPanel.hxx:103 svx::sidebar::LinePropertyPanel maTransControl sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:105 +svx/source/sidebar/line/LinePropertyPanel.hxx:104 svx::sidebar::LinePropertyPanel maEdgeStyle sfx2::sidebar::ControllerItem -svx/source/sidebar/line/LinePropertyPanel.hxx:106 +svx/source/sidebar/line/LinePropertyPanel.hxx:105 svx::sidebar::LinePropertyPanel maCapStyle sfx2::sidebar::ControllerItem svx/source/svdraw/svdibrow.cxx:95 ImpItemListRow pType const std::type_info * @@ -896,6 +904,10 @@ vbahelper/source/vbahelper/vbafillformat.hxx:36 ScVbaFillFormat m_nForeColor sal_Int32 vcl/inc/accel.h:33 ImplAccelEntry mpAutoAccel class Accelerator * +vcl/inc/ControlCacheKey.hxx:31 + ControlCacheKey mnState const enum ControlState +vcl/inc/ControlCacheKey.hxx:32 + ControlCacheKey maSize const class Size vcl/inc/fontselect.hxx:61 FontSelectPattern mfExactHeight float vcl/inc/opengl/RenderList.hxx:29 @@ -956,10 +968,8 @@ vcl/inc/unx/gtk/gtkframe.hxx:81 GtkSalFrame::IMHandler::PreviousKeyPress send_event gint8 vcl/inc/unx/gtk/gtkframe.hxx:82 GtkSalFrame::IMHandler::PreviousKeyPress time guint32 -vcl/inc/unx/salgdi.h:307 +vcl/inc/unx/salgdi.h:306 X11SalGraphics nTextPixel_ Pixel -vcl/inc/unx/salgdi.h:313 - X11SalGraphics bFontGC_ _Bool vcl/inc/WidgetThemeLibrary.hxx:20 vcl::WidgetDrawStyle nSize uint32_t vcl/inc/WidgetThemeLibrary.hxx:91 @@ -1012,7 +1022,7 @@ vcl/unx/gtk3/gtk3gloactiongroup.cxx:28 GLOAction parent_instance GObject vcl/unx/gtk3/gtk3glomenu.cxx:17 GLOMenu parent_instance const GMenuModel -vcl/unx/gtk3/gtk3gtkinst.cxx:1588 +vcl/unx/gtk3/gtk3gtkinst.cxx:1596 in char * vcl/unx/gtk3/gtk3hudawareness.cxx:17 HudAwarenessHandle connection GDBusConnection * |