summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.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/table3.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/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 0e30d0a8a678..d5649eedc73f 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -1107,8 +1107,8 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam )
// now insert the formulas
ScComplexRefData aRef;
aRef.InitFlags();
- aRef.Ref1.nTab = nTab;
- aRef.Ref2.nTab = nTab;
+ aRef.Ref1.SetAbsTab(nTab);
+ aRef.Ref2.SetAbsTab(nTab);
for ( ::std::vector< RowEntry >::const_iterator iEntry( aRowVector.begin());
iEntry != aRowVector.end(); ++iEntry)
{
@@ -1117,10 +1117,10 @@ bool ScTable::DoSubTotals( ScSubTotalParam& rParam )
ScSubTotalFunc* eResFunc = rParam.pFunctions[iEntry->nGroupNo];
for ( SCCOL nResult=0; nResult < nResCount; ++nResult )
{
- aRef.Ref1.nCol = nResCols[nResult];
- aRef.Ref1.nRow = iEntry->nFuncStart;
- aRef.Ref2.nCol = nResCols[nResult];
- aRef.Ref2.nRow = iEntry->nFuncEnd;
+ aRef.Ref1.SetAbsCol(nResCols[nResult]);
+ aRef.Ref1.SetAbsRow(iEntry->nFuncStart);
+ aRef.Ref2.SetAbsCol(nResCols[nResult]);
+ aRef.Ref2.SetAbsRow(iEntry->nFuncEnd);
ScTokenArray aArr;
aArr.AddOpCode( ocSubTotal );