diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-21 21:31:39 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-03-22 21:49:23 -0400 |
commit | e84bf20fb0368bfe7873f9fb46023f1c9f35ac15 (patch) | |
tree | 4d94a456a09bb1fb8c444fefaf8aa900834f2362 /sc/source | |
parent | 73ab286477e31a0440af2e91c772fdf55db66a2a (diff) |
A bit more cleanup...
Change-Id: I559ef1e8189002ea4ee4e543b5a3aebc0aa17674
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/tool/chgtrack.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index 420c088f104c..68c7a05877c0 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 ); } |