summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table2.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-07-26 23:06:06 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-07-30 23:50:00 -0400
commit35d11d2b1e53d07833bc90242ac82f3a00587d41 (patch)
tree61a1c26bd18f56cbb948ddb4d32f8117c6f1acce /sc/source/core/data/table2.cxx
parentd528b30b9f643d44cf2a24fa81ef6a7d1a80fcb9 (diff)
More of the same. Will this ever end, I'm starting to wonder...
Change-Id: I36bc90e8477cba306e107fb6d6e47f5732161df8
Diffstat (limited to 'sc/source/core/data/table2.cxx')
-rw-r--r--sc/source/core/data/table2.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 5bbb6d38086b..ebbd7fbd7bfa 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -971,10 +971,7 @@ void ScTable::TransposeClip( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
ScAddress aDestPos( static_cast<SCCOL>(nRow-nRow1), static_cast<SCROW>(nCol-nCol1), pTransClip->nTab );
ScSingleRefData aRef;
- aRef.nCol = nCol;
- aRef.nRow = nRow;
- aRef.nTab = nTab;
- aRef.InitFlags(); // -> all absolute
+ aRef.InitAddress(ScAddress(nCol,nRow,nTab));
aRef.SetFlag3D(true);
ScTokenArray aArr;
aArr.AddSingleReference( aRef );