summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/badstatics.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/badstatics.cxx')
-rw-r--r--compilerplugins/clang/badstatics.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/badstatics.cxx b/compilerplugins/clang/badstatics.cxx
index 697a50c8f9b0..d91f3b430a30 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -199,6 +199,7 @@ public:
|| (loplugin::DeclCheck(pVarDecl).Var("aAllListeners")
.Class("ScAddInListener").GlobalNamespace()) // not owning
|| name == "s_pLOKWindowsMap" // LOK only, guarded by assert, and LOK never tries to perform a VCL cleanup
+ || name == "gStaticManager" // vcl/source/graphic/Manager.cxx - stores non-owning pointers
) // these variables appear unproblematic
{
return true;