diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-01-23 21:53:49 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-02-17 16:48:39 +0100 |
commit | 574dd40ae6ef9aff39b363c1969f37ba23768478 (patch) | |
tree | 85dcd132966d7c8efe6b57788a65a1a7ef28e2ac /comphelper | |
parent | d9c5659d9bcc9fca7eb5f090c314bf106c672a96 (diff) |
lok: New feature flag to turn off tiled annotations
Change-Id: Ie418642242ada98d4a41f30bb6cefcd57f398ef0
Reviewed-on: https://gerrit.libreoffice.org/33472
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 75d8b305bbc1c2377f23361ecd64816a350baa4c)
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/lok.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/comphelper/source/misc/lok.cxx b/comphelper/source/misc/lok.cxx index cf776f00c35f..44487da953ca 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -21,6 +21,8 @@ static bool g_bPartInInvalidation(false); static bool g_bTiledPainting(false); +static bool g_bTiledAnnotations(true); + void setActive(bool bActive) { g_bActive = bActive; @@ -51,6 +53,16 @@ bool isTiledPainting() return g_bTiledPainting; } +void setTiledAnnotations(bool bTiledAnnotations) +{ + g_bTiledAnnotations = bTiledAnnotations; +} + +bool isTiledAnnotations() +{ + return g_bTiledAnnotations; +} + static bool g_bLocalRendering(false); void setLocalRendering(bool bLocalRendering) |