New loplugin:externvar: pyuno

Change-Id: Ib6822bf914fe44e8bd590dfe82d25d7c5046ca94
This commit is contained in:
Stephan Bergmann 2017-01-09 15:41:44 +01:00
parent 953e0df86a
commit 089f89ef10

View File

@ -27,7 +27,7 @@
namespace pyuno namespace pyuno
{ {
bool g_destructorsOfStaticObjectsHaveBeenCalled; static bool g_destructorsOfStaticObjectsHaveBeenCalled;
class StaticDestructorGuard class StaticDestructorGuard
{ {
public: public:
@ -36,7 +36,7 @@ public:
g_destructorsOfStaticObjectsHaveBeenCalled = true; g_destructorsOfStaticObjectsHaveBeenCalled = true;
} }
}; };
StaticDestructorGuard guard; static StaticDestructorGuard guard;
static bool isAfterUnloadOrPy_Finalize() static bool isAfterUnloadOrPy_Finalize()
{ {