summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins')
-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 f316b4d47b88..4904e1a31d3e 100644
--- a/compilerplugins/clang/badstatics.cxx
+++ b/compilerplugins/clang/badstatics.cxx
@@ -142,6 +142,12 @@ public:
// sw/source/core/text/blink.cxx, _TextFinit()
|| name == "s_pIconCache"
// sd/source/ui/tools/IconCache.cxx, leaked
+ || name == "maInstanceMap"
+ // sd/source/ui/framework/tools/FrameworkHelper.cxx, would
+ // leak ViewShellBase* keys if that map is not empty at exit
+ || name == "theAddInAsyncTbl"
+ // sc/source/core/tool/adiasync.cxx, would leak
+ // ScAddInAsync* keys if that set is not empty at exit
) // these variables appear unproblematic
{
return true;