diff options
author | Marco Cecchetti <marco.cecchetti@collabora.com> | 2017-12-08 16:44:09 +0100 |
---|---|---|
committer | Marco Cecchetti <mrcekets@gmail.com> | 2017-12-15 18:20:36 +0100 |
commit | 2c79d998587cb2a0a561bbbd128ffb48fd56cf5a (patch) | |
tree | 96a4f9236343a2c79e9b738429c2a7b13f8fc603 /comphelper/source | |
parent | b77881366b17230908f441dfa27afcafc4374708 (diff) |
lok: calc: LOK_FEATURE_RANGE_HEADERS
For allowing the client to enable/disable the new range based header
data
Change-Id: I95da8ec3e48137fb75b9b22af3bb1296001ba9ca
Reviewed-on: https://gerrit.libreoffice.org/46095
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit 069cf9321be51e7203e336e0e87d8ba7dc9b729e)
Reviewed-on: https://gerrit.libreoffice.org/46570
Reviewed-by: Marco Cecchetti <mrcekets@gmail.com>
Tested-by: Marco Cecchetti <mrcekets@gmail.com>
Diffstat (limited to 'comphelper/source')
-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 a4f60ac6c565..b8324a4defcd 100644 --- a/comphelper/source/misc/lok.cxx +++ b/comphelper/source/misc/lok.cxx @@ -25,6 +25,8 @@ static bool g_bDialogPainting(false); static bool g_bTiledAnnotations(true); +static bool g_bRangeHeaders(false); + void setActive(bool bActive) { g_bActive = bActive; @@ -75,6 +77,16 @@ bool isTiledAnnotations() return g_bTiledAnnotations; } +void setRangeHeaders(bool bRangeHeaders) +{ + g_bRangeHeaders = bRangeHeaders; +} + +bool isRangeHeaders() +{ + return g_bRangeHeaders; +} + static bool g_bLocalRendering(false); void setLocalRendering(bool bLocalRendering) |