summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2021-11-06 15:47:08 +0100
committerAndras Timar <andras.timar@collabora.com>2021-11-11 10:49:01 +0100
commit9e9681109f7a340c306342791015f12e6f21be4f (patch)
tree46cb5bdfedd69723efcdb73070dce7f8fc9b2057
parent7f88f47bb9995eaf4d9cc169788e9fe2006af1ad (diff)
lok: no need to layout comments in writer cp-21.06.6-1
Annotations in writer use EditEngine what caused to send cursor position from that EditEngine to online and showing cursor in the top left corner of a document after comment insertion. We don't need to resize/update position comment windows as we send only abstract description of the comments and later rendering is handled by client. Change-Id: I1df0e44f9500c438efd00942a372754c7fbaa170 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124794 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--sw/source/uibase/docvw/AnnotationWin2.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/uibase/docvw/AnnotationWin2.cxx b/sw/source/uibase/docvw/AnnotationWin2.cxx
index 46c9ff24915e..fa64356de8b6 100644
--- a/sw/source/uibase/docvw/AnnotationWin2.cxx
+++ b/sw/source/uibase/docvw/AnnotationWin2.cxx
@@ -804,6 +804,9 @@ void SwAnnotationWin::DoResize()
void SwAnnotationWin::SetSizePixel( const Size& rNewSize )
{
+ if (comphelper::LibreOfficeKit::isActive())
+ return;
+
InterimItemWindow::SetSizePixel(rNewSize);
if (mpShadow)