summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-17 11:45:02 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-17 12:47:46 +0000
commit5b5706f41f97998785e1e7ad356580772da80c42 (patch)
tree90fbc80386ed79b12bd5fce299c7a139384d9e0b /comphelper
parente30f3bcd25762236eb739584dc71691123527c9f (diff)
comphelper lok: remove the g_bViewCallback global
Its purpose was to allow incrementally migrate all callers of SdrModel::libreOfficeKitCallback() to use SfxViewShell::libreOfficeKitViewCallback() (which allows notifying only the currently active or all views) instead. That is done by now, so it can go. Change-Id: I521bbbe5c638dfd844ebf025153459a37362d3c3 Reviewed-on: https://gerrit.libreoffice.org/26413 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/lok.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx
index f9c9031d05cb..a6abd2a65486 100644
--- a/comphelper/source/misc/lok.cxx
+++ b/comphelper/source/misc/lok.cxx
@@ -17,8 +17,6 @@ namespace LibreOfficeKit
static bool g_bActive(false);
-static bool g_bViewCallback(true);
-
void setActive(bool bActive)
{
g_bActive = bActive;
@@ -29,16 +27,6 @@ bool isActive()
return g_bActive;
}
-void setViewCallback(bool bViewCallback)
-{
- g_bViewCallback = bViewCallback;
-}
-
-bool isViewCallback()
-{
- return g_bViewCallback;
-}
-
static void (*pStatusIndicatorCallback)(void *data, statusIndicatorCallbackType type, int percent)(nullptr);
static void *pStatusIndicatorCallbackData(nullptr);