diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-01-22 19:39:47 +0530 |
---|---|---|
committer | pranavk <pranavk@collabora.co.uk> | 2017-01-27 12:54:27 +0000 |
commit | 6e463381b43d888a632e652a873f2b5abe7e5458 (patch) | |
tree | b3a576f5db09eb104ccfb36290f3f22f514bada5 /sw/source/uibase/docvw/AnnotationWin.cxx | |
parent | 73875b39e0ea00a3d80188c229b91c63355cd087 (diff) |
lok: Allow to reply to comments using postit id
Change-Id: Ic6aaa3066923d62f197bc2b0e02e8049c9d7cd2c
Reviewed-on: https://gerrit.libreoffice.org/33612
Reviewed-by: pranavk <pranavk@collabora.co.uk>
Tested-by: pranavk <pranavk@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/docvw/AnnotationWin.cxx')
-rw-r--r-- | sw/source/uibase/docvw/AnnotationWin.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/AnnotationWin.cxx b/sw/source/uibase/docvw/AnnotationWin.cxx index d8cca6fad7bd..5ecc03a0d930 100644 --- a/sw/source/uibase/docvw/AnnotationWin.cxx +++ b/sw/source/uibase/docvw/AnnotationWin.cxx @@ -41,6 +41,7 @@ #include <editeng/editeng.hxx> #include <editeng/editobj.hxx> +#include <comphelper/lok.hxx> #include <docufld.hxx> #include <txtfld.hxx> #include <ndtxt.hxx> @@ -240,6 +241,10 @@ VclPtr<MenuButton> SwAnnotationWin::CreateMenuButton() void SwAnnotationWin::InitAnswer(OutlinerParaObject* pText) { + // If tiled annotations is off in lok case, skip adding additional reply text. + if (comphelper::LibreOfficeKit::isActive() && !comphelper::LibreOfficeKit::isTiledAnnotations()) + return; + //collect our old meta data SwSidebarWin* pWin = Mgr().GetNextPostIt(KEY_PAGEUP, this); const SvtSysLocale aSysLocale; |