summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;