summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyuno/source/module/pyuno_gc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyuno/source/module/pyuno_gc.cxx b/pyuno/source/module/pyuno_gc.cxx
index 8293b689e9ca..4520303e3b2b 100644
--- a/pyuno/source/module/pyuno_gc.cxx
+++ b/pyuno/source/module/pyuno_gc.cxx
@@ -27,7 +27,7 @@
namespace pyuno
{
-bool g_destructorsOfStaticObjectsHaveBeenCalled;
+static bool g_destructorsOfStaticObjectsHaveBeenCalled;
class StaticDestructorGuard
{
public:
@@ -36,7 +36,7 @@ public:
g_destructorsOfStaticObjectsHaveBeenCalled = true;
}
};
-StaticDestructorGuard guard;
+static StaticDestructorGuard guard;
static bool isAfterUnloadOrPy_Finalize()
{