summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/badstatics.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-17 16:41:40 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-17 16:41:40 +0100
commitb0526e291d09db7e5300e701340e5addc95b46e8 (patch)
tree67878446fd527023d460028a760cae0303eff663 /compilerplugins/clang/badstatics.cxx
parent14b7524f65a89cd14cbd7245a3fa5a72c51e4657 (diff)
Work around loplguins:badstatics
Change-Id: I243dcb86cc1a99550b26962daf47c19eb62aa8df
Diffstat (limited to 'compilerplugins/clang/badstatics.cxx')
-rw-r--r--compilerplugins/clang/badstatics.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index fd8d2a041389..9f4841df82e0 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -136,6 +136,12 @@ public:
|| name == "xDrawClipDocShellRef" // ScGlobal::Clear()
|| name == "instance"
// ImplImageTree::get(), ImplImageTree::shutDown()
+ || name == "s_pMouseFrame"
+ // vcl/osx/salframeview.mm, mouseEntered/Exited, not owning
+ || name == "pCurrentMenuBar"
+ // vcl/osx/salmenu.cxx, AquaSalMenu::set/unsetMainMenu, not
+ // owning
+ || name == "s_pCaptureFrame" // vcl/osx/salframe.cxx, not owning
) // these variables appear unproblematic
{
return true;