[Libreoffice-commits] core.git: Branch 'feature/formula-core-rework' - sc/source
Kohei Yoshida
kohei.yoshida at gmail.com
Thu Mar 21 18:31:54 PDT 2013
sc/source/core/tool/chgtrack.cxx | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit 62f697b43465ddc1ad71e52568c88ba59b62aa40
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Thu Mar 21 21:31:39 2013 -0400
A bit more cleanup...
Change-Id: I559ef1e8189002ea4ee4e543b5a3aebc0aa17674
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx
index 420c088..68c7a05 100644
--- a/sc/source/core/tool/chgtrack.cxx
+++ b/sc/source/core/tool/chgtrack.cxx
@@ -1357,10 +1357,9 @@ ScChangeActionContent::ScChangeActionContent( const sal_uLong nActionNumber,
pPrevContent(NULL),
pNextInSlot(NULL),
ppPrevInSlot(NULL)
-
{
if (pOldCell)
- ScChangeActionContent::SetCell( aOldValue, pOldCell, 0, pDoc );
+ SetCell( aOldValue, pOldCell, 0, pDoc );
if (!sOldValue.isEmpty()) // #i40704# don't overwrite SetCell result with empty string
aOldValue = sOldValue; // set again, because SetCell removes it
}
@@ -1446,8 +1445,7 @@ void ScChangeActionContent::SetOldValue( const ScBaseCell* pCell,
void ScChangeActionContent::SetNewValue( const ScBaseCell* pCell,
ScDocument* pDoc )
{
- ScChangeActionContent::SetValue( aNewValue, pNewCell,
- aBigRange.aStart.MakeAddress(), pCell, pDoc, pDoc );
+ SetValue( aNewValue, pNewCell, aBigRange.aStart.MakeAddress(), pCell, pDoc, pDoc );
}
More information about the Libreoffice-commits
mailing list