summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.com>2020-05-28 04:27:50 +0530
committerDennis Francis <dennis.francis@collabora.com>2020-07-06 08:38:27 +0200
commit53f151e6bb48de603595e519eb9e968c7f678224 (patch)
treecda09a616a92733525fbec64f516b95f50452e5c /sc/source/ui/docshell/docsh4.cxx
parent9af38b4504ccda57a0c32eb8bdd03e5a8ca29ddc (diff)
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.francis@collabora.com>
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
1 files changed, 1 insertions, 1 deletions
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
{