commit 6ac6f2458d5114af29428b94be40034bef636c7b Author: serval Date: Thu Dec 9 22:44:46 2010 +0100 First try to remove of a call-catcher / bloat removal diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index baef1ae..63a1284 100644 --- a/sc/source/core/tool/chgtrack.cxx +++ b/sc/source/core/tool/chgtrack.cxx @@ -2743,24 +2743,6 @@ BOOL ScChangeTrack::IsMatrixFormulaRangeDifferent( const ScBaseCell* pOldCell, return nC1 != nC2 || nR1 != nR2; } - -void ScChangeTrack::AppendContent( const ScAddress& rPos, - const String& rNewValue, ScBaseCell* pOldCell ) -{ - String aOldValue; - ScChangeActionContent::GetStringOfCell( aOldValue, pOldCell, pDoc, rPos ); - if ( aOldValue != rNewValue || - IsMatrixFormulaRangeDifferent( pOldCell, NULL ) ) - { // nur wirkliche Aenderung tracken - ScRange aRange( rPos ); - ScChangeActionContent* pAct = new ScChangeActionContent( aRange ); - pAct->SetOldValue( pOldCell, pDoc, pDoc ); - pAct->SetNewValue( rNewValue, pDoc ); - Append( pAct ); - } -} - - void ScChangeTrack::AppendContent( const ScAddress& rPos, const ScBaseCell* pOldCell, ULONG nOldFormat, ScDocument* pRefDoc ) {