sc/source/ui/docshell/docsh4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 53f151e6bb48de603595e519eb9e968c7f678224 Author: Dennis Francis <dennis.fran...@collabora.com> AuthorDate: Thu May 28 04:27:50 2020 +0530 Commit: Dennis Francis <dennis.fran...@collabora.com> CommitDate: Mon Jul 6 08:38:27 2020 +0200 lokit: Adjust nSize* to agree with the definition in tools::Rectangle Change-Id: I6ebe539fe47403e4aa605c5ddfb6175080bd4655 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98115 Tested-by: Jenkins Reviewed-by: Dennis Francis <dennis.fran...@collabora.com> diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx index 6e369608998e..ffb31aaeaa5f 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -2505,7 +2505,7 @@ void ScDocShell::LOKCommentNotify(LOKCommentNotificationType nType, const ScDocu Point aTopLeft = pViewData->GetPrintTwipsPos(rPos.Col(), rPos.Row()); long nSizeX, nSizeY; pViewData->GetMergeSizePrintTwips(rPos.Col(), rPos.Row(), nSizeX, nSizeY); - aRectString = tools::Rectangle(aTopLeft, Size(nSizeX, nSizeY)).toString(); + aRectString = tools::Rectangle(aTopLeft, Size(nSizeX - 1, nSizeY - 1)).toString(); } else { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits