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 /desktop | |
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 'desktop')
-rw-r--r-- | desktop/source/lib/init.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 93bb799c4fda..c7ee9afecac1 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -2786,6 +2786,8 @@ static void lo_setOptionalFeatures(LibreOfficeKit* pThis, uint64_t const feature pLib->mOptionalFeatures = features; if (features & LOK_FEATURE_PART_IN_INVALIDATION_CALLBACK) comphelper::LibreOfficeKit::setPartInInvalidation(true); + if (features & LOK_FEATURE_NO_TILED_ANNOTATIONS) + comphelper::LibreOfficeKit::setTiledAnnotations(false); } static void lo_setDocumentPassword(LibreOfficeKit* pThis, |