diff options
Diffstat (limited to 'comphelper/source/misc/lok.cxx')
-rw-r--r-- | comphelper/source/misc/lok.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index fc8a09d054e9..a6abd2a65486 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -15,16 +15,16 @@ namespace comphelper namespace LibreOfficeKit { -static bool bActive(false); +static bool g_bActive(false); -void setActive() +void setActive(bool bActive) { - bActive = true; + g_bActive = bActive; } bool isActive() { - return bActive; + return g_bActive; } static void (*pStatusIndicatorCallback)(void *data, statusIndicatorCallbackType type, int percent)(nullptr); |