Work around loplugin:badstatics
...about static ImplImageTree instance; in ImplImageTree::get (vcl/source/gdi/impimagetree.cxx) due to StyleIconSet ImplImageTree::maIconSet; (of type std::unordered_map<OUString, IconSet, OUStringHash>) due to IconCache ImplImageTree::IconSet::maIconCache; (of type std::unordered_map<OUString, std::pair<bool, BitmapEx>, OUStringHash>), reported at least when building against Mac libc++. This is a false positive, as ImplImageTree::shutDown cleans this up. Change-Id: Idb1a99aa33f71286e57b31b7adb833e3ee8b5f5a
This commit is contained in:
@@ -134,6 +134,7 @@ public:
|
|||||||
|| name == "g_pHyphIter" // SwEditShell::HyphEnd()
|
|| name == "g_pHyphIter" // SwEditShell::HyphEnd()
|
||||||
|| name == "pFieldEditEngine" // ScGlobal::Clear()
|
|| name == "pFieldEditEngine" // ScGlobal::Clear()
|
||||||
|| name == "xDrawClipDocShellRef" // ScGlobal::Clear()
|
|| name == "xDrawClipDocShellRef" // ScGlobal::Clear()
|
||||||
|
|| name == "instance" // ImplImageTree::get()
|
||||||
) // these variables appear unproblematic
|
) // these variables appear unproblematic
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user