diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-18 10:17:20 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-11-18 11:49:28 -0500 |
commit | d1ed0f696d0f8f6c1360086577c12161abb9d569 (patch) | |
tree | 7b2596a43d2c6af425aa360eeff2be784d7f142f | |
parent | 6cba38d1dbf264e15ba8de0127c055b281f7fe28 (diff) |
Unnecessary casting.
Change-Id: Id7d9b28921e96842df1e7c0d735dba4d3dbb6156
-rw-r--r-- | sc/source/core/data/table4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx index bfc29bdfcd53..3561a040920e 100644 --- a/sc/source/core/data/table4.cxx +++ b/sc/source/core/data/table4.cxx @@ -448,7 +448,7 @@ void ScTable::FillFormula( ScFormulaCell* pOrgCell = pDocument->GetFormulaCell(aOrg); if (pOrgCell && pOrgCell->GetMatrixFlag() == MM_FORMULA) { - ((ScFormulaCell*)pOrgCell)->SetMatColsRows( + pOrgCell->SetMatColsRows( nDestCol - aOrg.Col() + 1, nDestRow - aOrg.Row() + 1 ); } |