summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel <noel.grandin@collabora.co.uk>2021-03-25 13:56:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-25 14:13:12 +0100
commiteab3fa1f372887c913b2f2d85bbccadede10355d (patch)
tree67c6e1427a5314d4df15424a4b2ae5f8290592cc
parent96900c6de49de3ff41f99e13bb6991b8b17d29f0 (diff)
loplugin:unusedvarsglobal
Change-Id: Ie73c8bec0196c680311b0959f3a17c3af900ce88 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113084 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rwxr-xr-xcompilerplugins/clang/unusedvarsglobal.py2
-rw-r--r--compilerplugins/clang/unusedvarsglobal.untouched.results26
-rw-r--r--compilerplugins/clang/unusedvarsglobal.writeonly.results320
-rw-r--r--dbaccess/source/ui/browser/genericcontroller.cxx9
-rw-r--r--include/xmloff/xmlimp.hxx1
-rw-r--r--sc/source/ui/inc/inscodlg.hxx1
-rw-r--r--sd/source/ui/inc/framework/FrameworkHelper.hxx3
-rw-r--r--sdext/source/presenter/PresenterHelper.hxx1
-rw-r--r--vcl/source/filter/FilterConfigCache.cxx7
-rw-r--r--vcl/source/filter/FilterConfigCache.hxx1
-rw-r--r--xmloff/source/draw/sdpropls.cxx10
-rw-r--r--xmloff/source/forms/elementimport.cxx1
-rw-r--r--xmloff/source/forms/elementimport.hxx1
13 files changed, 71 insertions, 312 deletions
diff --git a/compilerplugins/clang/unusedvarsglobal.py b/compilerplugins/clang/unusedvarsglobal.py
index db46b9fee1ca..da268794bb6e 100755
--- a/compilerplugins/clang/unusedvarsglobal.py
+++ b/compilerplugins/clang/unusedvarsglobal.py
@@ -127,7 +127,7 @@ def natural_sort_key(s, _nsre=re.compile('([0-9]+)')):
# sort by both the source-line and the datatype, so the output file ordering is stable
# when we have multiple items on the same source line
def v_sort_key(v):
- return natural_sort_key(v[0]) + [v1]]
+ return natural_sort_key(v[0]) + [v[1]]
# sort results by name and line number
tmp1list = sorted(untouchedSet, key=lambda v: v_sort_key(v))
diff --git a/compilerplugins/clang/unusedvarsglobal.untouched.results b/compilerplugins/clang/unusedvarsglobal.untouched.results
index cdc7a6e89477..4a40feec0bf2 100644
--- a/compilerplugins/clang/unusedvarsglobal.untouched.results
+++ b/compilerplugins/clang/unusedvarsglobal.untouched.results
@@ -1,38 +1,44 @@
-canvas/workben/canvasdemo.cxx:672
+canvas/workben/canvasdemo.cxx:669
(anonymous namespace)::DemoApp aApp
-connectivity/source/drivers/evoab2/EApi.h:52
- gconstpointer (*)(EContact *, EContactField) e_contact_get_const
cppu/source/uno/check.cxx:315
(anonymous namespace)::BinaryCompatible_Impl aTest
-framework/source/services/ContextChangeEventMultiplexer.cxx:381
+framework/source/services/ContextChangeEventMultiplexer.cxx:370
framework::(anonymous namespace)::Hook g_hook
hwpfilter/source/nodes.h:92
int count
-pyuno/source/loader/pyuno_loader.cxx:240
- pyuno_loader::(anonymous namespace)::PythonInit s_Init
pyuno/source/module/pyuno_gc.cxx:45
pyuno::(anonymous namespace)::StaticDestructorGuard guard
sal/osl/all/utility.cxx:45
osl::(anonymous namespace)::OGlobalTimer aGlobalTimer
-sal/qa/osl/file/osl_File.cxx:5199
+sal/qa/osl/file/osl_File.cxx:4970
(anonymous namespace)::GlobalObject theGlobalObject
sal/rtl/cmdargs.cxx:46
(anonymous namespace)::ArgHolder argHolder
+sal/rtl/strtmpl.hxx:1258
+ IMPL_RTL_STRINGDATA data
+sc/source/ui/inc/inscodlg.hxx:88
+ _Bool bPreviousAllCheck
+sdext/source/presenter/PresenterHelper.hxx:33
+ rtl::OUString msCenterPaneURL
soltools/cpp/cpp.h:239
int Lflag
soltools/mkdepend/parse.c:40
symhash * maininclist
soltools/mkdepend/pr.c:34
int width
+starmath/inc/ElementsDockingWindow.hxx:81
+ std::tuple<const char *, const SmElementDescr *, size_t> [0] m_a6Categories
svx/source/gengal/gengal.cxx:323
(anonymous namespace)::GalApp aGalApp
-vcl/backendtest/VisualBackendTest.cxx:745
+vcl/backendtest/VisualBackendTest.cxx:799
(anonymous namespace)::VisualBackendTestApp aApplication
vcl/source/uipreviewer/previewer.cxx:113
(anonymous namespace)::UIPreviewApp aApp
-vcl/workben/icontest.cxx:216
+vcl/workben/icontest.cxx:214
(anonymous namespace)::IconTestApp aApp
vcl/workben/mtfdemo.cxx:162
(anonymous namespace)::DemoMtfApp aApp
-vcl/workben/vcldemo.cxx:2445
+vcl/workben/vcldemo.cxx:2258
(anonymous namespace)::DemoApp aApp
+xmloff/source/forms/elementimport.hxx:54
+ xmloff::OElementNameMap::MapString2Element s_sElementTranslations
diff --git a/compilerplugins/clang/unusedvarsglobal.writeonly.results b/compilerplugins/clang/unusedvarsglobal.writeonly.results
index 92413e328e2c..a79fcd405751 100644
--- a/compilerplugins/clang/unusedvarsglobal.writeonly.results
+++ b/compilerplugins/clang/unusedvarsglobal.writeonly.results
@@ -1,38 +1,18 @@
-basctl/source/basicide/localizationmgr.cxx:52
- rtl::OUStringLiteral aSemi
-chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx:149
- sal_uInt16 [7] nAreaWhichPairs
-chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx:157
- sal_uInt16 [7] nTextWhichPairs
-chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx:164
- sal_uInt16 [7] nTextOrientWhichPairs
-chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx:199
- sal_uInt16 [5] nFillPropertyWhichPairs
-chart2/source/controller/itemsetwrapper/SchWhichPairs.hxx:214
- sal_uInt16 [9] nChartStyleWhichPairs
-chart2/source/view/inc/ViewDefines.hxx:30
+basctl/source/basicide/localizationmgr.cxx:56
+ rtl::OUStringLiteral<2> aSemi
+chart2/source/view/inc/ViewDefines.hxx:29
double ZDIRECTION
-chart2/source/view/main/ChartView.cxx:2437
- char * envChartDummyFactory
connectivity/source/drivers/hsqldb/HDriver.cxx:345
Reference<class com::sun::star::frame::XTerminateListener> s_xTerminateListener
connectivity/source/drivers/mysqlc/mysqlc_databasemetadata.cxx:38
std::string wild
-cppuhelper/source/servicemanager.cxx:1977
+cppuhelper/source/servicemanager.cxx:2024
std::vector<css::uno::Mapping> maMaps
-cui/source/inc/cuitabarea.hxx:491
- sal_uInt16 [] pBitmapRanges
-dbaccess/source/ui/browser/genericcontroller.cxx:465
+dbaccess/source/ui/browser/genericcontroller.cxx:462
sal_Int32 s_nRecursions
-dbaccess/source/ui/inc/TokenWriter.hxx:142
- sal_Int16 [7] nDefaultFontSize
-dbaccess/source/ui/inc/TokenWriter.hxx:144
- sal_Int16 [7] nFontSize
-desktop/source/app/langselect.cxx:50
- rtl::OUString foundLocale
hwpfilter/source/grammar.cxx:399
int yynerrs
-hwpfilter/source/hbox.h:67
+hwpfilter/source/hbox.h:66
int boxCount
hwpfilter/source/ksc5601.h:184
hchar [4888] ksc5601_2uni_page4a
@@ -48,57 +28,61 @@ i18npool/inc/calendar_hijri.hxx:62
sal_Int32 [] LeapYear
idlc/source/idlccompile.cxx:51
int yydebug
-include/svx/def3d.hxx:26
- double EPSILON
-include/svx/xoutbmp.hxx:57
- GraphicFilter * pGrfFilter
include/vcl/animate/Animation.hxx:96
sal_uLong mnAnimCount
+include/xmloff/xmlimp.hxx:531
+ rtl::OUStringLiteral<1> aDefaultNamespace
libreofficekit/qa/gtktiledviewer/gtv-comments-sidebar.cxx:31
gpointer gtv_comments_sidebar_parent_class
libreofficekit/qa/gtktiledviewer/gtv-lok-dialog.cxx:61
gpointer gtv_lok_dialog_parent_class
-lotuswordpro/inc/lwptools.hxx:76
- double INCHT_PER_CM
sal/osl/unx/system.cxx:164
void *[3] dummy
sal/qa/osl/condition/osl_Condition_Const.h:41
rtl::OUString aTestCon
sal/qa/osl/condition/osl_Condition_Const.h:43
char [17] pTestString
-sal/qa/osl/file/osl_File_Const.h:60
+sal/qa/osl/file/osl_File_Const.h:63
char [11] pBuffer_Number
-sal/qa/osl/file/osl_File_Const.h:61
+sal/qa/osl/file/osl_File_Const.h:64
char [1] pBuffer_Blank
-sal/qa/osl/file/osl_File_Const.h:126
+sal/qa/osl/file/osl_File_Const.h:129
rtl::OUString aCanURL2
-sal/qa/osl/file/osl_File_Const.h:128
+sal/qa/osl/file/osl_File_Const.h:131
rtl::OUString aCanURL3
-sal/qa/osl/file/osl_File_Const.h:141
+sal/qa/osl/file/osl_File_Const.h:132
+ rtl::OUString aCanURL4
+sal/qa/osl/file/osl_File_Const.h:139
+ rtl::OUString aTmpName7
+sal/qa/osl/file/osl_File_Const.h:144
rtl::OUString aRelURL1
-sal/qa/osl/file/osl_File_Const.h:142
+sal/qa/osl/file/osl_File_Const.h:145
rtl::OUString aRelURL2
-sal/qa/osl/file/osl_File_Const.h:143
+sal/qa/osl/file/osl_File_Const.h:146
rtl::OUString aRelURL3
-sal/qa/osl/file/osl_File_Const.h:157
+sal/qa/osl/file/osl_File_Const.h:148
+ rtl::OUString aRelURL5
+sal/qa/osl/file/osl_File_Const.h:149
+ rtl::OUString aLnkURL1
+sal/qa/osl/file/osl_File_Const.h:160
rtl::OUString aSysPathLnk
-sal/qa/osl/file/osl_File_Const.h:158
+sal/qa/osl/file/osl_File_Const.h:161
rtl::OUString aFifoSys
-sal/qa/osl/file/osl_File_Const.h:165
+sal/qa/osl/file/osl_File_Const.h:168
rtl::OUString aTypeURL1
-sal/qa/osl/file/osl_File_Const.h:166
+sal/qa/osl/file/osl_File_Const.h:169
rtl::OUString aTypeURL2
-sal/qa/osl/file/osl_File_Const.h:167
+sal/qa/osl/file/osl_File_Const.h:170
rtl::OUString aTypeURL3
-sal/qa/osl/file/osl_File_Const.h:182
+sal/qa/osl/file/osl_File_Const.h:185
rtl::OUString aVolURL2
-sal/qa/osl/file/osl_File_Const.h:184
+sal/qa/osl/file/osl_File_Const.h:187
rtl::OUString aVolURL3
-sal/qa/osl/file/osl_File_Const.h:185
+sal/qa/osl/file/osl_File_Const.h:188
rtl::OUString aVolURL4
-sal/qa/osl/file/osl_File_Const.h:186
+sal/qa/osl/file/osl_File_Const.h:189
rtl::OUString aVolURL5
-sal/qa/osl/file/osl_File_Const.h:187
+sal/qa/osl/file/osl_File_Const.h:190
rtl::OUString aVolURL6
sal/qa/osl/security/osl_Security_Const.h:48
char [17] pTestString
@@ -157,236 +141,40 @@ sal/qa/OStringBuffer/rtl_String_Const.h:450
sal/qa/OStringBuffer/rtl_String_Const.h:454
sal_Int32 [12] expValStrLastNormal
sal/qa/rtl/strings/test_oustring_stringliterals.cxx:47
- rtlunittest::OUStringLiteral dummy
-sc/inc/global.hxx:514
- std::unique_ptr<SvxBrushItem> xEmbeddedBrushItem
-sc/source/core/data/drwlayer.cxx:80
+ rtlunittest::OUStringLiteral<6> dummy
+sc/source/core/data/drwlayer.cxx:86
E3dObjFactory * pF3d
-sc/source/core/opencl/opinlinefun_finacial.cxx:43
- std::string GetPMTDecl
-sc/source/core/opencl/opinlinefun_finacial.cxx:46
- std::string GetPMT
-sc/source/core/opencl/opinlinefun_finacial.cxx:309
- std::string ScaDate2Decl
-sc/source/core/opencl/opinlinefun_finacial.cxx:313
- std::string ScaDate2
-sc/source/filter/inc/imp_op.hxx:88
- double fExcToTwips
-sc/source/filter/inc/xlstream.hxx:33
- ErrCode EXC_ENCR_ERROR_WRONG_PASS
-sc/source/ui/inc/content.hxx:63
- _Bool bIsInDrag
-sc/source/ui/inc/viewfunc.hxx:376
- _Bool bPasteIsDrop
-sd/source/ui/inc/framework/FrameworkHelper.hxx:64
- rtl::OUString msSidebarPaneURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:83
- rtl::OUString msAllMasterPagesTaskPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:84
- rtl::OUString msRecentMasterPagesTaskPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:85
- rtl::OUString msUsedMasterPagesTaskPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:86
- rtl::OUString msLayoutTaskPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:87
- rtl::OUString msTableDesignPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:88
- rtl::OUString msCustomAnimationTaskPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:89
- rtl::OUString msSlideTransitionTaskPanelURL
-sd/source/ui/inc/framework/FrameworkHelper.hxx:101
- rtl::OUStringLiteral msModuleControllerService
-sd/source/ui/inc/framework/FrameworkHelper.hxx:102
- rtl::OUStringLiteral msConfigurationControllerService
-sd/source/ui/inc/unokywds.hxx:26
- char [6] sUNO_PseudoSheet_Title
-sd/source/ui/inc/unokywds.hxx:27
- char [9] sUNO_PseudoSheet_SubTitle
-sd/source/ui/inc/unokywds.hxx:29
- char [18] sUNO_PseudoSheet_Background_Objects
-sd/source/ui/inc/unokywds.hxx:30
- char [6] sUNO_PseudoSheet_Notes
-sd/source/ui/inc/unokywds.hxx:31
- char [9] sUNO_PseudoSheet_Outline1
-sd/source/ui/inc/unokywds.hxx:32
- char [9] sUNO_PseudoSheet_Outline2
-sd/source/ui/inc/unokywds.hxx:33
- char [9] sUNO_PseudoSheet_Outline3
-sd/source/ui/inc/unokywds.hxx:34
- char [9] sUNO_PseudoSheet_Outline4
-sd/source/ui/inc/unokywds.hxx:35
- char [9] sUNO_PseudoSheet_Outline5
-sd/source/ui/inc/unokywds.hxx:36
- char [9] sUNO_PseudoSheet_Outline6
-sd/source/ui/inc/unokywds.hxx:37
- char [9] sUNO_PseudoSheet_Outline7
-sd/source/ui/inc/unokywds.hxx:38
- char [9] sUNO_PseudoSheet_Outline8
-sd/source/ui/inc/unokywds.hxx:39
- char [9] sUNO_PseudoSheet_Outline9
-sd/source/ui/inc/unokywds.hxx:49
- char [6] sUNO_shape_style
-sd/source/ui/inc/unokywds.hxx:50
- char [10] sUNO_shape_layername
-sd/source/ui/inc/unokywds.hxx:51
- char [7] sUNO_shape_zorder
-sd/source/ui/inc/unokywds.hxx:54
- char [31] sUNO_Service_StyleFamily
-sd/source/ui/inc/unokywds.hxx:55
- char [33] sUNO_Service_StyleFamilies
-sd/source/ui/inc/unokywds.hxx:56
- char [25] sUNO_Service_Style
-sd/source/ui/inc/unokywds.hxx:58
- char [36] sUNO_Service_LineProperties
-sd/source/ui/inc/unokywds.hxx:59
- char [39] sUNO_Service_ParagraphProperties
-sd/source/ui/inc/unokywds.hxx:60
- char [39] sUNO_Service_CharacterProperties
-sd/source/ui/inc/unokywds.hxx:61
- char [26] sUNO_Service_Text
-sd/source/ui/inc/unokywds.hxx:62
- char [36] sUNO_Service_TextProperties
-sd/source/ui/inc/unokywds.hxx:63
- char [38] sUNO_Service_ShadowProperties
-sd/source/ui/inc/unokywds.hxx:64
- char [41] sUNO_Service_ConnectorProperties
-sd/source/ui/inc/unokywds.hxx:65
- char [39] sUNO_Service_MeasureProperties
-sd/source/ui/inc/unokywds.hxx:67
- char [40] sUNO_Service_GraphicObjectShape
-sd/source/ui/inc/unokywds.hxx:74
- char [11] sUNO_Prop_Background
-sd/source/ui/inc/unokywds.hxx:78
- char [7] sUNO_Prop_Aspect
-sd/source/ui/inc/unokywds.hxx:100
- char [12] sUNO_View_IsQuickEdit
-sd/source/ui/inc/unokywds.hxx:103
- char [15] sUNO_View_IsDragWithCopy
-sd/source/ui/inc/unokywds.hxx:105
- char [9] sUNO_View_DrawMode
-sd/source/ui/inc/unokywds.hxx:106
- char [16] sUNO_View_PreviewDrawMode
-sd/source/ui/inc/unokywds.hxx:107
- char [24] sUNO_View_IsShowPreviewInPageMode
-sd/source/ui/inc/unokywds.hxx:108
- char [30] sUNO_View_IsShowPreviewInMasterPageMode
-sd/source/ui/inc/unokywds.hxx:109
- char [28] sUNO_View_SetShowPreviewInOutlineMode
-sd/source/ui/inc/unokywds.hxx:114
- char [8] sUNO_View_VisArea
-sd/source/ui/inc/unokywds.hxx:123
- char [19] sUNO_View_IsSnapLinesVisible
-sd/source/ui/inc/unokywds.hxx:124
- char [14] sUNO_View_IsDragStripes
-sd/source/ui/inc/unokywds.hxx:127
- char [23] sUNO_View_IsMarkedHitMovesAlways
-sd/source/ui/inc/unokywds.hxx:130
- char [12] sUNO_View_IsLineDraft
-sd/source/ui/inc/unokywds.hxx:131
- char [12] sUNO_View_IsFillDraft
-sd/source/ui/inc/unokywds.hxx:132
- char [12] sUNO_View_IsTextDraft
-sd/source/ui/inc/unokywds.hxx:133
- char [12] sUNO_View_IsGrafDraft
-sdext/source/presenter/PresenterHelper.hxx:34
- rtl::OUString msCenterPaneURL
-sdext/source/presenter/PresenterHelper.hxx:38
- rtl::OUString msPresenterScreenURL
-sdext/source/presenter/PresenterHelper.hxx:39
- rtl::OUString msSlideSorterURL
-sdext/source/presenter/PresenterPaneFactory.hxx:57
- rtl::OUStringLiteral msHelpPaneURL
-sdext/source/presenter/PresenterPaneFactory.hxx:58
- rtl::OUStringLiteral msOverlayPaneURL
+sd/source/ui/inc/framework/FrameworkHelper.hxx:80
+ rtl::OUStringLiteral<28> msTaskPanelURLPrefix
sfx2/source/appl/appdata.cxx:48
BasicDLL * pBasic
-sfx2/source/appl/shutdownicon.hxx:107
+sfx2/source/appl/shutdownicon.hxx:108
_Bool bModalMode
soltools/cpp/cpp.h:246
Nlist * kwdefined
-svl/source/items/style.cxx:61
+starmath/inc/mathml/mathmlMo.hxx:106
+ std::vector<moOperatorData> moOperatorDataDictionary
+starmath/inc/mathml/starmathdatabase.hxx:189
+ Color COL_SM_DIV_BLACK
+starmath/inc/mathml/starmathdatabase.hxx:190
+ Color COL_SM_DIV_BLUE
+svl/source/items/style.cxx:59
(anonymous namespace)::DbgStyleSheetReferences aDbgStyleSheetReferences
-svtools/source/config/printoptions.cxx:60
- SvtPrintOptions_Impl * pPrinterOptionsDataContainer
-svtools/source/config/printoptions.cxx:61
- SvtPrintOptions_Impl * pPrintFileOptionsDataContainer
sw/source/core/inc/swfont.hxx:989
SvStatistics g_SvStat
-sw/source/filter/html/css1kywd.hxx:27
- char *const sCSS1_import
-sw/source/filter/html/css1kywd.hxx:31
- char *const sCSS1_important
-sw/source/filter/html/css1kywd.hxx:42
- char *const sCSS1_rgb
-sw/source/filter/html/css1kywd.hxx:50
- char *const sCSS1_UNIT_em
-sw/source/filter/html/css1kywd.hxx:51
- char *const sCSS1_UNIT_ex
-sw/source/filter/html/css1kywd.hxx:89
- char *const sCSS1_PV_lighter
-sw/source/filter/html/css1kywd.hxx:90
- char *const sCSS1_PV_bolder
-sw/source/filter/html/css1kywd.hxx:94
- char *const sCSS1_PV_xx_small
-sw/source/filter/html/css1kywd.hxx:95
- char *const sCSS1_PV_x_small
-sw/source/filter/html/css1kywd.hxx:96
- char *const sCSS1_PV_small
-sw/source/filter/html/css1kywd.hxx:97
- char *const sCSS1_PV_medium
-sw/source/filter/html/css1kywd.hxx:98
- char *const sCSS1_PV_large
-sw/source/filter/html/css1kywd.hxx:99
- char *const sCSS1_PV_x_large
-sw/source/filter/html/css1kywd.hxx:100
- char *const sCSS1_PV_xx_large
-sw/source/filter/html/css1kywd.hxx:102
- char *const sCSS1_PV_larger
-sw/source/filter/html/css1kywd.hxx:103
- char *const sCSS1_PV_smaller
-sw/source/filter/html/css1kywd.hxx:117
- char *const sCSS1_PV_repeat_x
-sw/source/filter/html/css1kywd.hxx:118
- char *const sCSS1_PV_repeat_y
-sw/source/filter/html/css1kywd.hxx:181
- char *const sCSS1_PV_thin
-sw/source/filter/html/css1kywd.hxx:183
- char *const sCSS1_PV_thick
-sw/source/filter/html/css1kywd.hxx:209
- char *const sCSS1_PV_relative
-sw/source/filter/html/css1kywd.hxx:210
- char *const sCSS1_PV_static
-sw/source/filter/html/css1kywd.hxx:237
- char *const sCSS1_class_abs_pos
-sw/source/filter/ww8/ww8par6.cxx:1069
+sw/source/filter/ww8/ww8par6.cxx:1083
sal_uInt16 [2] nLef
-sw/source/filter/ww8/ww8par6.cxx:1070
+sw/source/filter/ww8/ww8par6.cxx:1084
sal_uInt16 [2] nRig
-sw/source/filter/ww8/ww8par6.cxx:1121
+sw/source/filter/ww8/ww8par6.cxx:1135
sal_uInt16 [2] nTop
-sw/source/filter/ww8/ww8par6.cxx:1122
+sw/source/filter/ww8/ww8par6.cxx:1136
sal_uInt16 [2] nBot
-sw/source/filter/ww8/ww8scan.hxx:50
- char [8] aTextBox
-vcl/inc/unx/gtk/gtkgdi.hxx:166
- GtkStyleContext * mpSpinEntryStyle
vcl/qa/cppunit/timer.cxx:54
(anonymous namespace)::WatchDog * aWatchDog
-vcl/unx/gtk3/a11y/gtk3atkutil.cxx:508
+vcl/source/filter/FilterConfigCache.hxx:49
+ char *[] InternalVectorFilterNameList
+vcl/unx/gtk3/a11y/gtk3atkutil.cxx:447
(anonymous namespace)::WindowList g_aWindowList
-xmloff/source/chart/XMLSymbolImageContext.cxx:46
- SvXMLTokenMapEntry [5] aSymbolImageAttrTokenMap
-xmloff/source/draw/sdpropls.hxx:40
- XMLPropertyMapEntry [] aXMLSDPresPageProps_onlyHeadersFooter
-xmloff/source/style/DashStyle.cxx:58
- SvXMLTokenMapEntry [9] aDashStyleAttrTokenMap
-xmloff/source/style/XMLBackgroundImageContext.cxx:174
- SvXMLTokenMap aTokenMap
-xmloff/source/style/xmlstyle.cxx:62
- SvXMLTokenMapEntry [16] aStyleStylesElemTokenMap
-xmloff/source/style/xmltabi.cxx:84
- SvXMLTokenMap aTokenMap
-xmloff/source/text/txtdropi.cxx:65
- SvXMLTokenMap aTokenMap
-xmloff/source/text/txtimp.cxx:414
- SvXMLTokenMapEntry [9] aTextMasterPageElemTokenMap
+xmloff/source/draw/sdpropls.cxx:365
+ XMLPropertyMapEntry [5] aXMLSDPresPageProps_onlyHeadersFooter
diff --git a/dbaccess/source/ui/browser/genericcontroller.cxx b/dbaccess/source/ui/browser/genericcontroller.cxx
index 83876d1bd0fd..fa4f932654cb 100644
--- a/dbaccess/source/ui/browser/genericcontroller.cxx
+++ b/dbaccess/source/ui/browser/genericcontroller.cxx
@@ -458,11 +458,6 @@ bool OGenericUnoController::isFeatureSupported( sal_Int32 _nId )
void OGenericUnoController::InvalidateFeature_Impl()
{
-#ifdef DBG_UTIL
- static sal_Int32 s_nRecursions = 0;
- ++s_nRecursions;
-#endif
-
bool bEmpty = true;
FeatureListener aNextFeature;
{
@@ -505,10 +500,6 @@ void OGenericUnoController::InvalidateFeature_Impl()
if (!bEmpty)
aNextFeature = m_aFeaturesToInvalidate.front();
}
-
-#ifdef DBG_UTIL
- --s_nRecursions;
-#endif
}
void OGenericUnoController::ImplInvalidateFeature( sal_Int32 _nId, const Reference< XStatusListener >& _xListener, bool _bForceBroadcast )
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx
index 191f6aa59422..6ac9266094eb 100644
--- a/include/xmloff/xmlimp.hxx
+++ b/include/xmloff/xmlimp.hxx
@@ -528,7 +528,6 @@ public:
**/
bool getBuildIds( sal_Int32& rUPD, sal_Int32& rBuild ) const;
- static constexpr OUStringLiteral aDefaultNamespace = u"";
static constexpr OUStringLiteral aNamespaceSeparator = u":";
static const sal_uInt16 OOo_1x = 10;
diff --git a/sc/source/ui/inc/inscodlg.hxx b/sc/source/ui/inc/inscodlg.hxx
index 7c7992c99c73..b480eb6b4196 100644
--- a/sc/source/ui/inc/inscodlg.hxx
+++ b/sc/source/ui/inc/inscodlg.hxx
@@ -85,7 +85,6 @@ private:
std::unique_ptr<weld::CheckButton> mxImmediately;
- static bool bPreviousAllCheck;
static InsertDeleteFlags nPreviousChecks;
static InsertContentsFlags nPreviousChecks2;
static ScPasteFunc nPreviousFormulaChecks;
diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index b57182cd897f..f86d3f1edb35 100644
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -76,9 +76,6 @@ public:
static constexpr OUStringLiteral msToolBarURLPrefix = u"private:resource/toolbar/";
static const OUString msViewTabBarURL;
- // URLs of task panels.
- static constexpr OUStringLiteral msTaskPanelURLPrefix = u"private:resource/toolpanel/";
-
// Names of frequently used events.
static constexpr OUStringLiteral msResourceActivationRequestEvent
= u"ResourceActivationRequested";
diff --git a/sdext/source/presenter/PresenterHelper.hxx b/sdext/source/presenter/PresenterHelper.hxx
index 7f4387c163bd..69fc57333941 100644
--- a/sdext/source/presenter/PresenterHelper.hxx
+++ b/sdext/source/presenter/PresenterHelper.hxx
@@ -30,7 +30,6 @@ namespace sdext::presenter
*/
namespace PresenterHelper
{
-extern const OUString msCenterPaneURL;
extern const OUString msFullScreenPaneURL;
/** Return the slide show controller of a running presentation that has
diff --git a/vcl/source/filter/FilterConfigCache.cxx b/vcl/source/filter/FilterConfigCache.cxx
index 482b8fed2ca0..1783b0f35702 100644
--- a/vcl/source/filter/FilterConfigCache.cxx
+++ b/vcl/source/filter/FilterConfigCache.cxx
@@ -48,13 +48,6 @@ const char* FilterConfigCache::FilterConfigCacheEntry::InternalPixelFilterNameLi
nullptr
};
-const char* FilterConfigCache::FilterConfigCacheEntry::InternalVectorFilterNameList[] =
-{
- IMP_SVMETAFILE, IMP_WMF, IMP_EMF, IMP_SVG, IMP_PDF,
- EXP_SVMETAFILE, EXP_WMF, EXP_EMF, EXP_SVG, EXP_PDF,
- IMP_EPS, EXP_EPS, nullptr
-};
-
void FilterConfigCache::FilterConfigCacheEntry::CreateFilterName( const OUString& rUserDataEntry )
{
bIsPixelFormat = false;
diff --git a/vcl/source/filter/FilterConfigCache.hxx b/vcl/source/filter/FilterConfigCache.hxx
index d802d3bc377b..f398a58ff70a 100644
--- a/vcl/source/filter/FilterConfigCache.hxx
+++ b/vcl/source/filter/FilterConfigCache.hxx
@@ -46,7 +46,6 @@ class FilterConfigCache
OUString GetShortName( );
static const char* InternalPixelFilterNameList[];
- static const char* InternalVectorFilterNameList[];
};
diff --git a/xmloff/source/draw/sdpropls.cxx b/xmloff/source/draw/sdpropls.cxx
index 36a24e2f0d84..2bb4be8cab20 100644
--- a/xmloff/source/draw/sdpropls.cxx
+++ b/xmloff/source/draw/sdpropls.cxx
@@ -362,16 +362,6 @@ const XMLPropertyMapEntry aXMLSDPresPageProps[] =
MAP_END()
};
-const XMLPropertyMapEntry aXMLSDPresPageProps_onlyHeadersFooter[] =
-{
- DPMAP( "IsHeaderVisible", XML_NAMESPACE_PRESENTATION, XML_DISPLAY_HEADER, XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE, CTF_HEADER_VISIBLE ),
- DPMAP( "IsFooterVisible", XML_NAMESPACE_PRESENTATION, XML_DISPLAY_FOOTER, XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE, CTF_FOOTER_VISIBLE ),
- DPMAP( "IsPageNumberVisible", XML_NAMESPACE_PRESENTATION, XML_DISPLAY_PAGE_NUMBER, XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE, CTF_PAGE_NUMBER_VISIBLE ),
- DPMAP( "IsDateTimeVisible", XML_NAMESPACE_PRESENTATION, XML_DISPLAY_DATE_TIME, XML_SD_TYPE_HEADER_FOOTER_VISIBILITY_TYPE, CTF_DATE_TIME_VISIBLE ),
-
- MAP_END()
-};
-
/** contains the attribute to property mapping for a drawing layer table
WARNING: if attributes are added, SdXMLTableShapeContext::processAttribute needs to be updated!
*/
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx
index efcc4b7e73aa..06d69218e294 100644
--- a/xmloff/source/forms/elementimport.cxx
+++ b/xmloff/source/forms/elementimport.cxx
@@ -89,7 +89,6 @@ namespace xmloff
}
//= OElementNameMap
- OElementNameMap::MapString2Element OElementNameMap::s_sElementTranslations;
std::map<sal_Int32, OControlElement::ElementType> OElementNameMap::s_sElementTranslations2;
const OControlElement::ElementType& operator ++(OControlElement::ElementType& _e)
diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx
index bb03da03150a..dcf4a60437ef 100644
--- a/xmloff/source/forms/elementimport.hxx
+++ b/xmloff/source/forms/elementimport.hxx
@@ -51,7 +51,6 @@ namespace xmloff
class OElementNameMap : public OControlElement
{
typedef std::map<OUString, ElementType> MapString2Element;
- static MapString2Element s_sElementTranslations;
static std::map<sal_Int32, ElementType> s_sElementTranslations2;
OElementNameMap() = delete;