sc/source/ui/docshell/docsh4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 8eaf52648b429dc79e8e58316af87f65d8873bed 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:36:25 2020 +0200 lokit: Adjust nSize* to agree with the definition in tools::Rectangle Change-Id: I6ebe539fe47403e4aa605c5ddfb6175080bd4655 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98051 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> 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 5e3a7b2117b0..cfe3832beb3d 100644 --- a/sc/source/ui/docshell/docsh4.cxx +++ b/sc/source/ui/docshell/docsh4.cxx @@ -2508,7 +2508,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