summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorSzabolcs Toth <szabolcs450@gmail.com>2019-08-12 10:58:40 +0200
committerLászló Németh <nemeth@numbertext.org>2019-09-04 09:12:32 +0200
commit5bfa8b8d5e1cf3cb572dbd91bf3b0cfcf29fb65a (patch)
treefae59caf6125e6fc9e88f04c74a0df5275e84a0b /compilerplugins
parente8b3df5b9b0eb0a93c25b6dc2e445ae44a7e3f78 (diff)
tdf#118314 Code clean up on imestatuswindow
Change-Id: I8bc5a73a91f28fcfd22ef716e9cf87d53997b1ad Reviewed-on: https://gerrit.libreoffice.org/77337 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/badstatics.cxx3
-rw-r--r--compilerplugins/clang/unusedenumconstants.writeonly.results2
2 files changed, 1 insertions, 4 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 1c099a14236a..5f1edea78476 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -159,8 +159,7 @@ public:
&& pVarDecl->isThisDeclarationADefinition())
{
auto const name(pVarDecl->getName());
- if ( name == "g_pI18NStatusInstance" // I18NStatus::free()
- || name == "s_pPreviousView" // not an owning pointer
+ if ( name == "s_pPreviousView" // not an owning pointer
|| name == "s_pDefCollapsed" // SvImpLBox::~SvImpLBox()
|| name == "s_pDefExpanded" // SvImpLBox::~SvImpLBox()
|| name == "g_pDDSource" // SvTreeListBox::dispose()
diff --git a/compilerplugins/clang/unusedenumconstants.writeonly.results b/compilerplugins/clang/unusedenumconstants.writeonly.results
index e1a9019589bc..38d6a1783e53 100644
--- a/compilerplugins/clang/unusedenumconstants.writeonly.results
+++ b/compilerplugins/clang/unusedenumconstants.writeonly.results
@@ -10414,8 +10414,6 @@ vcl/inc/salframe.hxx:72
enum SalFrameStyleFlags NOSHADOW
vcl/inc/salptype.hxx:32
enum JobSetFlags ALL
-vcl/inc/svdata.hxx:134
- enum ImplSVAppData::ImeStatusWindowMode ImeStatusWindowMode_UNKNOWN
vcl/inc/unx/desktops.hxx:29
enum DesktopType DESKTOP_UNKNOWN
vcl/inc/unx/i18n_cb.hxx:67