[Libreoffice-commits] core.git: compilerplugins/clang
Stephan Bergmann
sbergman at redhat.com
Tue Nov 17 07:42:05 PST 2015
compilerplugins/clang/badstatics.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit b0526e291d09db7e5300e701340e5addc95b46e8
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Nov 17 16:41:40 2015 +0100
Work around loplguins:badstatics
Change-Id: I243dcb86cc1a99550b26962daf47c19eb62aa8df
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index fd8d2a0..9f4841d 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;
More information about the Libreoffice-commits
mailing list