[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/source
Dennis Francis (via logerrit)
logerrit at kemper.freedesktop.org
Mon Jul 6 06:36:57 UTC 2020
sc/source/ui/docshell/docsh4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8eaf52648b429dc79e8e58316af87f65d8873bed
Author: Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Thu May 28 04:27:50 2020 +0530
Commit: Dennis Francis <dennis.francis at 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 <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Dennis Francis <dennis.francis at 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
{
More information about the Libreoffice-commits
mailing list