summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-01 12:41:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-02 08:27:49 +0200
commitd8759f225c5246465194b71b1407c84904752cc9 (patch)
tree72dabe3110dab7b770a927f31a2aa3d2dac7c49e /compilerplugins
parent4b9e440c51be3e40326bc90c33ae69885bfb51e4 (diff)
loplugin:unusedfields
Change-Id: Icecc024c4385ec69508369d2645d8412e6dbff69 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101835 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/unusedfields.only-used-in-constructor.results12
-rw-r--r--compilerplugins/clang/unusedfields.readonly.results4
-rw-r--r--compilerplugins/clang/unusedfields.untouched.results38
-rw-r--r--compilerplugins/clang/unusedfields.writeonly.results16
4 files changed, 40 insertions, 30 deletions
diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index a66a8db6d3eb..55cdaa2dee90 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -174,6 +174,8 @@ dbaccess/source/core/dataaccess/connection.hxx:102
dbaccess::OConnection m_nInAppend std::atomic<std::size_t>
dbaccess/source/core/inc/databasecontext.hxx:85
dbaccess::ODatabaseContext m_aBasicDLL class BasicDLL
+desktop/qa/desktop_lib/test_desktop_lib.cxx:2832
+ class AllSettings &
drawinglayer/inc/texture/texture3d.hxx:57
drawinglayer::texture::GeoTexSvxBitmapEx maBitmap class Bitmap
drawinglayer/inc/texture/texture3d.hxx:59
@@ -358,12 +360,8 @@ include/vcl/font/Feature.hxx:100
vcl::font::Feature m_eType enum vcl::font::FeatureType
include/vcl/NotebookBarAddonsMerger.hxx:36
NotebookBarAddonsItem aImage class Image
-include/vcl/NotebookBarAddonsMerger.hxx:43
- AddonsParams sImageId class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:44
- AddonsParams sControlType class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:45
- AddonsParams nWidth sal_uInt16
+include/vcl/toolkit/ivctrl.hxx:67
+ SvxIconChoiceCtrlEntry pUserData void *
include/xmloff/shapeimport.hxx:140
SdXML3DLightContext mbSpecular _Bool
libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:51
@@ -750,8 +748,6 @@ sw/source/core/text/inftxt.hxx:682
SwTextSlot aText class rtl::OUString
sw/source/core/text/porfld.cxx:140
(anonymous namespace)::SwFieldSlot aText class rtl::OUString
-sw/source/core/text/porlay.cxx:1312
- const sw::MergedPara *const &
sw/source/uibase/docvw/romenu.hxx:34
SwReadOnlyPopup m_aBuilder class VclBuilder
sw/source/uibase/docvw/romenu.hxx:46
diff --git a/compilerplugins/clang/unusedfields.readonly.results b/compilerplugins/clang/unusedfields.readonly.results
index 468015125711..008b0353cea8 100644
--- a/compilerplugins/clang/unusedfields.readonly.results
+++ b/compilerplugins/clang/unusedfields.readonly.results
@@ -248,9 +248,9 @@ framework/inc/helper/uiconfigelementwrapperbase.hxx:128
framework::UIConfigElementWrapperBase m_bConfigListening _Bool
framework/inc/xml/menudocumenthandler.hxx:187
framework::OReadMenuPopupHandler m_bMenuMode _Bool
-framework/source/fwe/classes/addonsoptions.cxx:344
- framework::AddonsOptions_Impl m_aEmptyAddonToolBar Sequence<Sequence<struct com::sun::star::beans::PropertyValue> >
framework/source/fwe/classes/addonsoptions.cxx:345
+ framework::AddonsOptions_Impl m_aEmptyAddonToolBar Sequence<Sequence<struct com::sun::star::beans::PropertyValue> >
+framework/source/fwe/classes/addonsoptions.cxx:346
framework::AddonsOptions_Impl m_aEmptyAddonNotebookBar Sequence<Sequence<struct com::sun::star::beans::PropertyValue> >
i18npool/inc/textconversion.hxx:79
i18npool::(anonymous) code sal_Unicode
diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results
index 746700e1d380..96e0f6e2b919 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -42,6 +42,8 @@ dbaccess/source/core/inc/databasecontext.hxx:85
dbaccess::ODatabaseContext m_aBasicDLL class BasicDLL
dbaccess/source/sdbtools/inc/connectiondependent.hxx:115
sdbtools::ConnectionDependentComponent::EntryGuard m_aMutexGuard ::osl::MutexGuard
+desktop/qa/desktop_lib/test_desktop_lib.cxx:2832
+ class AllSettings &
emfio/source/emfuno/xemfparser.cxx:48
emfio::emfreader::(anonymous namespace)::XEmfParser context_ uno::Reference<uno::XComponentContext>
extensions/source/scanner/scanner.hxx:43
@@ -117,11 +119,11 @@ include/sfx2/msg.hxx:137
include/sfx2/msg.hxx:138
SfxType7 nAttribs sal_uInt16
include/sfx2/msg.hxx:138
+ SfxType7 pType const std::type_info *
+include/sfx2/msg.hxx:138
SfxType7 aAttrib struct SfxTypeAttrib [7]
include/sfx2/msg.hxx:138
SfxType7 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
-include/sfx2/msg.hxx:138
- SfxType7 pType const std::type_info *
include/sfx2/msg.hxx:139
SfxType8 aAttrib struct SfxTypeAttrib [8]
include/sfx2/msg.hxx:139
@@ -206,16 +208,14 @@ include/vcl/font/Feature.hxx:100
vcl::font::Feature m_eType enum vcl::font::FeatureType
include/vcl/NotebookBarAddonsMerger.hxx:36
NotebookBarAddonsItem aImage class Image
-include/vcl/NotebookBarAddonsMerger.hxx:43
- AddonsParams sImageId class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:44
- AddonsParams sControlType class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:45
- AddonsParams nWidth sal_uInt16
+include/vcl/toolkit/ivctrl.hxx:67
+ SvxIconChoiceCtrlEntry pUserData void *
include/vcl/uitest/uiobject.hxx:279
TabPageUIObject mxTabPage VclPtr<class TabPage>
include/xmloff/formlayerexport.hxx:172
xmloff::OOfficeFormsExport m_pImpl std::unique_ptr<OFormsRootExport>
+include/xmloff/xmlstyle.hxx:145
+ SvXMLStylesContext mpStyleStylesElemTokenMap std::unique_ptr<SvXMLTokenMap>
libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:51
GtvApplicationWindow parent_instance GtkApplicationWindow
libreofficekit/qa/gtktiledviewer/gtv-application-window.hxx:55
@@ -390,8 +390,6 @@ sw/source/core/frmedt/fetab.cxx:75
(anonymous namespace)::TableWait m_pWait const std::unique_ptr<SwWait>
sw/source/core/layout/dbg_lay.cxx:171
SwImplEnterLeave nAction enum DbgAction
-sw/source/core/text/porlay.cxx:1312
- const sw::MergedPara *const &
sw/source/uibase/inc/condedit.hxx:43
ConditionEdit m_aDropTargetHelper class ConditionEditDropTarget
sw/source/uibase/inc/conttree.hxx:294
@@ -460,8 +458,28 @@ vcl/unx/gtk3/gtk3gtkinst.cxx:5345
(anonymous namespace)::CustomCellRendererSurfaceClass parent_class GtkCellRendererTextClass
writerfilter/source/ooxml/OOXMLStreamImpl.hxx:42
writerfilter::ooxml::OOXMLStreamImpl mxFastParser css::uno::Reference<css::xml::sax::XFastParser>
+xmloff/inc/XMLTextColumnsContext.hxx:39
+ XMLTextColumnsContext pColumnAttrTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/inc/XMLTextColumnsContext.hxx:40
+ XMLTextColumnsContext pColumnSepAttrTokenMap std::unique_ptr<SvXMLTokenMap>
xmloff/source/chart/transporttypes.hxx:149
CustomLabelField sRuns std::vector<OUString>
+xmloff/source/draw/sdxmlimp_impl.hxx:108
+ SdXMLImport mpBodyElemTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/draw/sdxmlimp_impl.hxx:109
+ SdXMLImport mpStylesElemTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/draw/sdxmlimp_impl.hxx:110
+ SdXMLImport mpMasterPageElemTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/draw/sdxmlimp_impl.hxx:111
+ SdXMLImport mpPageMasterAttrTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/draw/sdxmlimp_impl.hxx:112
+ SdXMLImport mpPageMasterStyleAttrTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/draw/sdxmlimp_impl.hxx:113
+ SdXMLImport mpPresentationPlaceholderAttrTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/style/xmlnumfi.cxx:68
+ SvXMLNumImpData pStylesElemTokenMap std::unique_ptr<SvXMLTokenMap>
+xmloff/source/text/txtimp.cxx:520
+ XMLTextImportHelper::Impl m_xTextMasterPageElemTokenMap std::unique_ptr<SvXMLTokenMap>
xmlsecurity/qa/unit/signing/signing2.cxx:42
SigningTest2 mxSEInitializer uno::Reference<xml::crypto::XSEInitializer>
xmlsecurity/qa/unit/signing/signing2.cxx:43
diff --git a/compilerplugins/clang/unusedfields.writeonly.results b/compilerplugins/clang/unusedfields.writeonly.results
index e39d19fd5233..8c12ff96fbc6 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -104,8 +104,6 @@ codemaker/source/javamaker/classfile.cxx:508
floatBytes float
codemaker/source/javamaker/classfile.cxx:540
doubleBytes double
-comphelper/qa/container/comphelper_ifcontainer.cxx:44
- (anonymous namespace)::ContainerListener m_pStats struct (anonymous namespace)::ContainerStats *const
comphelper/qa/unit/parallelsorttest.cxx:44
ParallelSortTest mnThreads size_t
comphelper/source/misc/asyncnotification.cxx:86
@@ -214,6 +212,8 @@ cppu/source/uno/copy.hxx:39
cppu::(anonymous namespace)::SequencePrefix nRefCount sal_Int32
cppu/source/uno/copy.hxx:40
cppu::(anonymous namespace)::SequencePrefix nElements sal_Int32
+cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx:45
+ (anonymous namespace)::ContainerListener m_pStats struct (anonymous namespace)::ContainerStats *
cppuhelper/source/access_control.cxx:79
cppu::(anonymous namespace)::permission m_str1 rtl_uString *
cppuhelper/source/access_control.cxx:80
@@ -318,10 +318,6 @@ framework/inc/uielement/langselectionmenucontroller.hxx:73
framework::LanguageSelectionMenuController m_xMenuDispatch_Font css::uno::Reference<css::frame::XDispatch>
framework/inc/uielement/langselectionmenucontroller.hxx:75
framework::LanguageSelectionMenuController m_xMenuDispatch_CharDlgForParagraph css::uno::Reference<css::frame::XDispatch>
-framework/inc/uielement/menubarmanager.hxx:186
- framework::MenuBarManager m_aMenuItemCommand class rtl::OUString
-framework/inc/uielement/toolbarmerger.hxx:37
- framework::AddonsParams aImageId class rtl::OUString
framework/source/layoutmanager/toolbarlayoutmanager.hxx:272
framework::ToolbarLayoutManager m_pGlobalSettings std::unique_ptr<GlobalSettings>
framework/source/layoutmanager/toolbarlayoutmanager.hxx:276
@@ -428,13 +424,13 @@ include/test/beans/xpropertyset.hxx:56
apitest::XPropertySet::PropsToTest constrained std::vector<OUString>
include/unotools/fontcfg.hxx:159
utl::FontSubstConfiguration maSubstHash utl::FontSubstConfiguration::UniqueSubstHash
-include/vcl/NotebookBarAddonsMerger.hxx:53
+include/vcl/NotebookBarAddonsMerger.hxx:45
AddonNotebookBarItem sTarget class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:54
+include/vcl/NotebookBarAddonsMerger.hxx:46
AddonNotebookBarItem sContext class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:55
+include/vcl/NotebookBarAddonsMerger.hxx:47
AddonNotebookBarItem sControlType class rtl::OUString
-include/vcl/NotebookBarAddonsMerger.hxx:56
+include/vcl/NotebookBarAddonsMerger.hxx:48
AddonNotebookBarItem nWidth sal_uInt16
include/vcl/opengl/OpenGLContext.hxx:32
GLWindow bMultiSampleSupported _Bool