summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/futext3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/drawfunc/futext3.cxx')
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index cbdcefb7d893..7da2e6128493 100644
--- a/sc/source/ui/drawfunc/futext3.cxx
+++ b/sc/source/ui/drawfunc/futext3.cxx
@@ -160,7 +160,7 @@ void FuText::StopEditMode()
// Make sure the former area of the note anchor is invalidated.
ScRangeList aRangeList(aNotePos);
- ScMarkData aMarkData(aRangeList);
+ ScMarkData aMarkData(rDoc.MaxRow(), rDoc.MaxCol(), aRangeList);
rViewShell.UpdateSelectionArea(aMarkData);
}
else if( bNewNote || bDeleteNote )