summaryrefslogtreecommitdiff
path: root/sc/qa/unit/copy_paste_test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/copy_paste_test.cxx')
-rw-r--r--sc/qa/unit/copy_paste_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/copy_paste_test.cxx b/sc/qa/unit/copy_paste_test.cxx
index 6f3b0622366b..71adbe5c8c8d 100644
--- a/sc/qa/unit/copy_paste_test.cxx
+++ b/sc/qa/unit/copy_paste_test.cxx
@@ -88,7 +88,7 @@ void ScCopyPasteTest::testCopyPasteXLS()
ScRefFlags nRes = aSrcRange.Parse("B2:C5", &rDoc, rDoc.GetAddressConvention());
CPPUNIT_ASSERT_MESSAGE("Failed to parse.", (nRes & ScRefFlags::VALID));
- ScMarkData aMark;
+ ScMarkData aMark(MAXROW, MAXCOL);
aMark.SetMarkArea(aSrcRange);
pViewShell->GetViewData().GetMarkData().SetMarkArea(aSrcRange);