summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-18 10:17:20 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-18 10:21:41 -0500
commit6ac6acd2a902a2cd2b64458b24b803993ebecb75 (patch)
tree7b22b199d9a8d16940bb660ae6f82fb8630cb430 /sc
parent7f4222a5a59a8ccd8fcc5a56ed521bc0a9655737 (diff)
Unnecessary casting.
Change-Id: Id7d9b28921e96842df1e7c0d735dba4d3dbb6156
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/table4.cxx2
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 );
}