summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-11-17 23:43:26 +0100
committerMichael Stahl <mstahl@redhat.com>2015-11-17 23:49:50 +0100
commit526bfba0a0ef5cfa213b2c978eed83e43bb3cd9a (patch)
tree5c139ce2e55709351fe540af93ffaf7249fb10ad /compilerplugins
parentf324e507acf2875ac12d6ab1c1fca4fe95ba1817 (diff)
vcl, sd: rename some overly generic static variables
Change-Id: I89159df36361f9ceff3401ef379c8230465617b7
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/badstatics.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 3b2881f388d5..394c33e47aed 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -136,7 +136,7 @@ public:
|| name == "g_pHyphIter" // SwEditShell::HyphEnd()
|| name == "pFieldEditEngine" // ScGlobal::Clear()
|| name == "xDrawClipDocShellRef" // ScGlobal::Clear()
- || name == "instance"
+ || name == "s_ImplImageTree"
// ImplImageTree::get(), ImplImageTree::shutDown()
|| name == "s_pMouseFrame"
// vcl/osx/salframeview.mm, mouseEntered/Exited, not owning
@@ -146,7 +146,7 @@ public:
|| name == "s_pCaptureFrame" // vcl/osx/salframe.cxx, not owning
|| name == "pBlink"
// sw/source/core/text/blink.cxx, _TextFinit()
- || name == "mpInstance"
+ || name == "s_pIconCache"
// sd/source/ui/tools/IconCache.cxx, leaked
) // these variables appear unproblematic
{