loplugin:badstatics: whitelist some more statics

...which use std containers and are only found at all with the libc++ container
implementations, not the libstdc++ ones.

Change-Id: Ic9af06139823befad4af1a9a825cba10c115aceb
This commit is contained in:
Stephan Bergmann
2016-06-29 21:51:28 +02:00
parent bd9988ee96
commit ded8e74df2

View File

@@ -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;