diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 |
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 { |