[Libreoffice-commits] core.git: sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Tue Nov 18 07:22:43 PST 2014
sc/source/core/data/table4.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6ac6acd2a902a2cd2b64458b24b803993ebecb75
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Tue Nov 18 10:17:20 2014 -0500
Unnecessary casting.
Change-Id: Id7d9b28921e96842df1e7c0d735dba4d3dbb6156
diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx
index bfc29bd..3561a04 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 );
}
More information about the Libreoffice-commits
mailing list