summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorMarco Cecchetti <marco.cecchetti@collabora.com>2017-12-08 16:44:09 +0100
committerJan Holesovsky <kendy@collabora.com>2017-12-12 08:30:12 +0100
commit069cf9321be51e7203e336e0e87d8ba7dc9b729e (patch)
tree45d217ed5154a6c7c819f3efa968f76a86d7bcd4 /desktop
parenttdf#114338 don't crash on watermark insert w/ existing header (diff)
downloadcore-069cf9321be51e7203e336e0e87d8ba7dc9b729e.tar.gz
core-069cf9321be51e7203e336e0e87d8ba7dc9b729e.zip
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>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index 76748a87a317..e339d3a40467 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -3379,6 +3379,8 @@ static void lo_setOptionalFeatures(LibreOfficeKit* pThis, unsigned long long con
comphelper::LibreOfficeKit::setPartInInvalidation(true);
if (features & LOK_FEATURE_NO_TILED_ANNOTATIONS)
comphelper::LibreOfficeKit::setTiledAnnotations(false);
+ if (features & LOK_FEATURE_RANGE_HEADERS)
+ comphelper::LibreOfficeKit::setRangeHeaders(true);
}
static void lo_setDocumentPassword(LibreOfficeKit* pThis,