From bcace9acafa24d5251e90587af776fdb0a808ed8 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Thu, 18 Jun 2015 14:12:04 +0200 Subject: Add SwTiledRenderingTest::testGetTextSelection() testcase. Fails without commit 193b907b2bc49b9e48cfab2583e81a24aaa2e666 (SwXTextDocument::getTextSelection: fix missing editeng forward, 2015-06-18). Change-Id: I5fdab128471c12901f930b6b4ab4e2304dd3fe64 Reviewed-on: https://gerrit.libreoffice.org/16359 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- comphelper/source/misc/lok.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'comphelper') 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); -- cgit