summaryrefslogtreecommitdiff
path: root/test/source/sheet/xdatapilotdescriptor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xdatapilotdescriptor.cxx')
-rw-r--r--test/source/sheet/xdatapilotdescriptor.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/source/sheet/xdatapilotdescriptor.cxx b/test/source/sheet/xdatapilotdescriptor.cxx
index eb3b69636315..df1ccaaf2bee 100644
--- a/test/source/sheet/xdatapilotdescriptor.cxx
+++ b/test/source/sheet/xdatapilotdescriptor.cxx
@@ -47,8 +47,7 @@ void XDataPilotDescriptor::testSourceRange()
aAddress.EndRow = 5;
xDescr->setSourceRange(aAddress);
- table::CellRangeAddress aReturn;
- aReturn = xDescr->getSourceRange();
+ table::CellRangeAddress aReturn = xDescr->getSourceRange();
CPPUNIT_ASSERT_EQUAL(aAddress.Sheet, aReturn.Sheet);
CPPUNIT_ASSERT_EQUAL(aAddress.StartColumn, aReturn.StartColumn);