summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-04 09:42:28 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-04 14:22:55 +0200
commit316557d6f4fe8a15112b39f3c808dda38cce018c (patch)
tree45bfd533751097ae5fa6ba5c0c8a0cc8ccb4ae04 /compilerplugins
parentffa35b82ce845d82a5beae36eb57cec2b0c01233 (diff)
loplugin:unusedfields
Change-Id: If0df5216dccd2c0a7aa790668471993f5d4d5d32 Reviewed-on: https://gerrit.libreoffice.org/80183 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.results16
-rw-r--r--compilerplugins/clang/unusedfields.readonly.results46
-rw-r--r--compilerplugins/clang/unusedfields.untouched.results14
-rw-r--r--compilerplugins/clang/unusedfields.writeonly.results26
4 files changed, 34 insertions, 68 deletions
diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index 4b49911a92f9..63a578850f5c 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -146,7 +146,7 @@ cui/source/inc/tabstpge.hxx:87
SvxTabulatorTabPage m_aCenterWin class TabWin_Impl
cui/source/inc/tabstpge.hxx:88
SvxTabulatorTabPage m_aDezWin class TabWin_Impl
-cui/source/options/optcolor.cxx:237
+cui/source/options/optcolor.cxx:235
ColorConfigWindow_Impl::Entry m_aDefaultColor class Color
dbaccess/source/core/api/RowSet.hxx:111
dbaccess::ORowSet m_aURL class rtl::OUString
@@ -570,10 +570,6 @@ sc/source/ui/inc/msgpool.hxx:44
ScMessagePool aCondFormatDlgItem class ScCondFormatDlgItem
sc/source/ui/inc/notemark.hxx:46
ScNoteMarker m_aTimer class Timer
-sc/source/ui/inc/output.hxx:188
- ScOutputData nTilePosX long
-sc/source/ui/inc/output.hxx:189
- ScOutputData nTilePosY long
sc/source/ui/inc/PivotLayoutTreeListBase.hxx:48
ScPivotLayoutTreeListBase maDropTargetHelper class ScPivotLayoutTreeDropTarget
sc/source/ui/inc/xmlsourcedlg.hxx:62
@@ -631,9 +627,9 @@ sdext/source/pdfimport/pdfparse/pdfparse.cxx:263
sdext/source/pdfimport/pdfparse/pdfparse.cxx:263
PDFGrammar::definition dict_begin rule<ScannerT>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:263
- PDFGrammar::definition value rule<ScannerT>
-sdext/source/pdfimport/pdfparse/pdfparse.cxx:263
PDFGrammar::definition dict_end rule<ScannerT>
+sdext/source/pdfimport/pdfparse/pdfparse.cxx:263
+ PDFGrammar::definition value rule<ScannerT>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
PDFGrammar::definition object_end rule<ScannerT>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
@@ -806,8 +802,6 @@ vcl/inc/salmenu.hxx:43
SalMenuButtonItem maImage class Image
vcl/inc/salmenu.hxx:44
SalMenuButtonItem maToolTipText class rtl::OUString
-vcl/inc/unx/gtk/gtkframe.hxx:186
- GtkSalFrame m_nWorkArea int
vcl/inc/unx/i18n_ic.hxx:40
SalI18N_InputContext maPreeditStartCallback XIMCallback
vcl/inc/unx/i18n_ic.hxx:41
@@ -832,9 +826,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:2870
+vcl/source/app/salvtables.cxx:2890
SalInstanceEntry m_aTextFilter class (anonymous namespace)::WeldTextFilter
-vcl/source/app/salvtables.cxx:5358
+vcl/source/app/salvtables.cxx:5378
SalInstanceComboBoxWithEdit m_aTextFilter class (anonymous namespace)::WeldTextFilter
vcl/source/gdi/jobset.cxx:35
ImplOldJobSetupData cDeviceName char [32]
diff --git a/compilerplugins/clang/unusedfields.readonly.results b/compilerplugins/clang/unusedfields.readonly.results
index ec0da36339e5..cbdc4f340d19 100644
--- a/compilerplugins/clang/unusedfields.readonly.results
+++ b/compilerplugins/clang/unusedfields.readonly.results
@@ -158,7 +158,7 @@ cppu/source/uno/check.cxx:134
(anonymous namespace)::Char3 c3 char
cppu/source/uno/check.cxx:138
(anonymous namespace)::Char4 chars struct (anonymous namespace)::Char3
-cui/source/options/optcolor.cxx:255
+cui/source/options/optcolor.cxx:253
ColorConfigWindow_Impl aModuleOptions class SvtModuleOptions
cui/source/options/optpath.cxx:67
OptPath_Impl m_aDefOpt class SvtDefaultOptions
@@ -178,9 +178,7 @@ dbaccess/source/ui/inc/charsetlistbox.hxx:44
dbaui::CharSetListBox m_aCharSets class dbaui::OCharsetDisplay
dbaccess/source/ui/inc/directsql.hxx:65
dbaui::DirectSQLDialog m_aColorConfig const svtools::ColorConfig
-dbaccess/source/ui/inc/indexdialog.hxx:43
- dbaui::DbaIndexDialog m_bEditingActive _Bool
-dbaccess/source/ui/inc/WCopyTable.hxx:263
+dbaccess/source/ui/inc/WCopyTable.hxx:261
dbaui::OCopyTableWizard m_aLocale css::lang::Locale
drawinglayer/source/processor2d/vclprocessor2d.hxx:84
drawinglayer::processor2d::VclProcessor2D maDrawinglayerOpt const class SvtOptionsDrawinglayer
@@ -374,22 +372,16 @@ include/unoidl/unoidl.hxx:453
unoidl::ConstantValue::(anonymous) doubleValue double
include/unotest/bootstrapfixturebase.hxx:52
test::BootstrapFixtureBase m_directories class test::Directories
+include/vcl/edit.hxx:88
+ Edit maUpdateDataHdl Link<class Edit &, void>
include/vcl/opengl/OpenGLContext.hxx:48
OpenGLCapabilitySwitch mbLimitedShaderRegisters _Bool
include/vcl/opengl/OpenGLContext.hxx:167
OpenGLContext mpLastFramebuffer class OpenGLFramebuffer *
include/vcl/ppdparser.hxx:127
psp::PPDParser::PPDConstraint m_pKey1 const class psp::PPDKey *
-include/vcl/settings.hxx:149
- DialogStyle content_area_spacing int
-include/vcl/settings.hxx:162
- FrameStyle left int
-include/vcl/settings.hxx:163
- FrameStyle right int
-include/vcl/settings.hxx:164
- FrameStyle top int
-include/vcl/settings.hxx:165
- FrameStyle bottom int
+include/vcl/vclmedit.hxx:85
+ VclMultiLineEdit aUpdateDataHdlLink Link<class Edit &, void>
io/source/stm/odata.cxx:571
io_stm::ODataOutputStream::writeDouble(double)::(anonymous union)::(anonymous) n2 sal_uInt32
io/source/stm/odata.cxx:571
@@ -536,7 +528,7 @@ sdext/source/pdfimport/inc/pdfihelper.hxx:102
pdfi::GraphicsContext BlendMode sal_Int8
sdext/source/pdfimport/tree/style.hxx:43
pdfi::StyleContainer::Style Contents const class rtl::OUString
-sfx2/source/appl/lnkbase2.cxx:96
+sfx2/source/appl/lnkbase2.cxx:95
sfx2::ImplDdeItem pLink class sfx2::SvBaseLink *
slideshow/source/engine/slideshowimpl.cxx:156
(anonymous namespace)::FrameSynchronization maTimer const canvas::tools::ElapsedTime
@@ -546,14 +538,6 @@ starmath/source/view.cxx:862
SmViewShell_Impl aOpts class SvtMiscOptions
store/source/storbios.cxx:57
OStoreSuperBlock m_aMarked OStoreSuperBlock::L
-svgio/inc/svgstyleattributes.hxx:185
- svgio::svgreader::SvgStyleAttributes mpSvgGradientNodeFill const class svgio::svgreader::SvgGradientNode *
-svgio/inc/svgstyleattributes.hxx:186
- svgio::svgreader::SvgStyleAttributes mpSvgGradientNodeStroke const class svgio::svgreader::SvgGradientNode *
-svgio/inc/svgstyleattributes.hxx:187
- svgio::svgreader::SvgStyleAttributes mpSvgPatternNodeFill const class svgio::svgreader::SvgPatternNode *
-svgio/inc/svgstyleattributes.hxx:188
- svgio::svgreader::SvgStyleAttributes mpSvgPatternNodeStroke const class svgio::svgreader::SvgPatternNode *
svl/source/crypto/cryptosign.cxx:283
(anonymous namespace)::PKIStatusInfo status SECItem
svl/source/crypto/cryptosign.cxx:303
@@ -726,6 +710,10 @@ unotools/source/config/saveopt.cxx:76
SvtSaveOptions_Impl bROUserAutoSave _Bool
vcl/inc/BitmapFastScaleFilter.hxx:31
BitmapFastScaleFilter maSize const class Size
+vcl/inc/openglgdiimpl.hxx:52
+ TextureCombo mpTexture std::unique_ptr<OpenGLTexture>
+vcl/inc/openglgdiimpl.hxx:53
+ TextureCombo mpMask std::unique_ptr<OpenGLTexture>
vcl/inc/printerinfomanager.hxx:74
psp::PrinterInfoManager::SystemPrintQueue m_aComment class rtl::OUString
vcl/inc/salwtype.hxx:157
@@ -736,14 +724,8 @@ vcl/inc/salwtype.hxx:205
SalSurroundingTextSelectionChangeEvent mnEnd const sal_uLong
vcl/inc/salwtype.hxx:211
SalQueryCharPositionEvent mnCharPos sal_uLong
-vcl/inc/svdata.hxx:269
- ImplSVNWFData mnMenuSeparatorBorderX int
-vcl/inc/svdata.hxx:272
+vcl/inc/svdata.hxx:271
ImplSVNWFData mbMenuBarDockingAreaCommonBG _Bool
-vcl/inc/svdata.hxx:276
- ImplSVNWFData mbToolboxDropDownSeparate _Bool
-vcl/inc/svdata.hxx:279
- ImplSVNWFData mbOpenMenuOnF10 _Bool
vcl/inc/toolbox.h:108
vcl::ToolBoxLayoutData m_aLineItemIds std::vector<sal_uInt16>
vcl/inc/unx/saldisp.hxx:282
@@ -898,6 +880,10 @@ vcl/inc/WidgetThemeLibrary.hxx:135
vcl::WidgetThemeLibrary_t drawListHeader _Bool (*)(const struct vcl::ControlDrawParameters &, long, long)
vcl/inc/WidgetThemeLibrary.hxx:137
vcl::WidgetThemeLibrary_t updateSettings _Bool (*)(struct vcl::WidgetDrawStyle &)
+vcl/inc/wizdlg.hxx:78
+ vcl::RoadmapWizard maActivateHdl Link<class vcl::RoadmapWizard *, void>
+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:79
diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results
index e8845e4890c0..53061e4385a8 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -119,10 +119,10 @@ include/sfx2/msg.hxx:138
include/sfx2/msg.hxx:138
SfxType7 pType const std::type_info *
include/sfx2/msg.hxx:139
- SfxType8 nAttribs sal_uInt16
-include/sfx2/msg.hxx:139
SfxType8 pType const std::type_info *
include/sfx2/msg.hxx:139
+ SfxType8 nAttribs sal_uInt16
+include/sfx2/msg.hxx:139
SfxType8 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
include/sfx2/msg.hxx:139
SfxType8 aAttrib struct SfxTypeAttrib [8]
@@ -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 aAttrib struct SfxTypeAttrib [13]
-include/sfx2/msg.hxx:143
SfxType13 nAttribs sal_uInt16
+include/sfx2/msg.hxx:143
+ SfxType13 aAttrib struct SfxTypeAttrib [13]
include/sfx2/msg.hxx:144
SfxType14 pType const std::type_info *
include/sfx2/msg.hxx:144
@@ -326,10 +326,6 @@ sc/source/filter/inc/sheetdatacontext.hxx:62
oox::xls::SheetDataContext aReleaser const class SolarMutexReleaser
sc/source/ui/inc/docsh.hxx:455
ScDocShellModificator mpProtector std::unique_ptr<ScRefreshTimerProtector>
-sc/source/ui/inc/output.hxx:188
- ScOutputData nTilePosX long
-sc/source/ui/inc/output.hxx:189
- ScOutputData nTilePosY long
sc/source/ui/inc/PivotLayoutTreeListBase.hxx:48
ScPivotLayoutTreeListBase maDropTargetHelper class ScPivotLayoutTreeDropTarget
sd/source/ui/remotecontrol/ZeroconfService.hxx:34
@@ -426,8 +422,6 @@ vcl/inc/qt5/Qt5Graphics.hxx:58
Qt5Graphics m_lastPopupRect class QRect
vcl/inc/salprn.hxx:45
SalPrinterQueueInfo mpPortName std::unique_ptr<OUString>
-vcl/inc/unx/gtk/gtkframe.hxx:186
- GtkSalFrame m_nWorkArea int
vcl/inc/WidgetThemeLibrary.hxx:87
vcl::ControlDrawParameters nSize uint32_t
vcl/inc/WidgetThemeLibrary.hxx:88
diff --git a/compilerplugins/clang/unusedfields.writeonly.results b/compilerplugins/clang/unusedfields.writeonly.results
index 4681a68a201b..37e5d8dac37c 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -2,9 +2,9 @@ basctl/source/basicide/moduldlg.hxx:131
basctl::ObjectPage m_xDropTarget std::unique_ptr<SbTreeListBoxDropTarget>
basctl/source/inc/basidesh.hxx:87
basctl::Shell m_aNotifier class basctl::DocumentEventNotifier
-basctl/source/inc/bastype2.hxx:183
+basctl/source/inc/bastype2.hxx:182
basctl::TreeListBox m_aNotifier class basctl::DocumentEventNotifier
-basctl/source/inc/bastype2.hxx:255
+basctl/source/inc/bastype2.hxx:251
basctl::SbTreeListBox m_aNotifier class basctl::DocumentEventNotifier
basctl/source/inc/IDEComboBox.hxx:101
basctl::DocListenerBox maNotifier class basctl::DocumentEventNotifier
@@ -230,10 +230,10 @@ dbaccess/source/filter/xml/dbloader2.cxx:227
dbaxml::DBContentLoader m_xMySelf Reference<class com::sun::star::frame::XFrameLoader>
dbaccess/source/ui/browser/dbloader.cxx:69
DBContentLoader m_xListener Reference<class com::sun::star::frame::XLoadEventListener>
+dbaccess/source/ui/inc/FieldDescControl.hxx:112
+ dbaui::OFieldDescControl m_bRightAligned _Bool
dbaccess/source/ui/inc/RelationController.hxx:33
dbaui::ORelationController m_pWaitObject std::unique_ptr<WaitObject>
-dbaccess/source/ui/inc/WTypeSelect.hxx:74
- dbaui::OWizTypeSelectList m_pParentTabPage class dbaui::OWizTypeSelect *
desktop/qa/desktop_lib/test_desktop_lib.cxx:223
DesktopLOKTest m_bModified _Bool
desktop/source/app/app.cxx:1209
@@ -352,6 +352,8 @@ include/editeng/adjustitem.hxx:37
SvxAdjustItem bLeft _Bool
include/editeng/outlobj.hxx:43
OutlinerParaObjData mbIsEditDoc _Bool
+include/editeng/splwrap.hxx:59
+ SvxSpellWrapper bHyphen _Bool
include/editeng/unotext.hxx:415
SvxUnoTextBase xParentText css::uno::Reference<css::text::XText>
include/editeng/unotext.hxx:584
@@ -409,10 +411,10 @@ include/svx/srchdlg.hxx:162
include/svx/srchdlg.hxx:163
SvxSearchDialog pOptionsController std::unique_ptr<SvxSearchController>
include/svx/viewpt3d.hxx:62
- Viewport3D::(anonymous) X double
-include/svx/viewpt3d.hxx:62
Viewport3D::(anonymous) H double
include/svx/viewpt3d.hxx:62
+ Viewport3D::(anonymous) X double
+include/svx/viewpt3d.hxx:62
Viewport3D::(anonymous) Y double
include/test/beans/xpropertyset.hxx:56
apitest::XPropertySet::PropsToTest constrained std::vector<OUString>
@@ -784,10 +786,6 @@ sw/inc/unoframe.hxx:313
SwXOLEListener m_xOLEModel css::uno::Reference<css::frame::XModel>
sw/inc/view.hxx:184
SwView m_xGlueDocShell std::unique_ptr<SwViewGlueDocShell>
-sw/qa/api/SwXTextFrame.cxx:46
- (anonymous namespace)::SwXTextFrame mxTextRange uno::Reference<text::XTextRange>
-sw/qa/api/SwXTextFrame.cxx:47
- (anonymous namespace)::SwXTextFrame mxTextContent uno::Reference<text::XTextContent>
sw/source/core/inc/swfont.hxx:986
SvStatistics nGetTextSize sal_uInt16
sw/source/core/inc/swfont.hxx:987
@@ -950,7 +948,7 @@ vcl/inc/salwtype.hxx:250
SalSwipeEvent mnVelocityY double
vcl/inc/sft.hxx:478
vcl::TrueTypeFont mapper sal_uInt32 (*)(const sal_uInt8 *, sal_uInt32, sal_uInt32)
-vcl/inc/svdata.hxx:408
+vcl/inc/svdata.hxx:403
ImplSVEvent mpInstanceRef VclPtr<vcl::Window>
vcl/inc/unx/gtk/gtkframe.hxx:80
GtkSalFrame::IMHandler::PreviousKeyPress window GdkWindow *
@@ -958,12 +956,6 @@ 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/gtk/gtkframe.hxx:191
- GtkSalFrame m_bWindowIsGtkPlug _Bool
-vcl/inc/unx/gtk/gtkframe.hxx:192
- GtkSalFrame m_aTitle class rtl::OUString
-vcl/inc/unx/salframe.h:99
- X11SalFrame mbInShow _Bool
vcl/inc/WidgetThemeLibrary.hxx:20
vcl::WidgetDrawStyle nSize uint32_t
vcl/inc/WidgetThemeLibrary.hxx:91