[Libreoffice-commits] .: sc/inc sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Fri Dec 10 01:39:31 PST 2010
sc/inc/chgtrack.hxx | 5 -----
sc/source/core/tool/chgtrack.cxx | 18 ------------------
2 files changed, 23 deletions(-)
New commits:
commit f2ca08e1d28e07a673ca0af4d8fea5f9958d37ca
Author: serval <serval at ilapharm.com>
Date: Fri Dec 10 09:18:41 2010 +0000
Remove of the virtual function AppendContent
diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx
index e733509..c78b4fc 100644
--- a/sc/inc/chgtrack.hxx
+++ b/sc/inc/chgtrack.hxx
@@ -1248,11 +1248,6 @@ public:
// nicht anders geht (setzen nur String fuer
// NewValue bzw. Formelerzeugung)
- // bevor neuer Wert im Dokument gesetzt wird
- void AppendContent( const ScAddress& rPos,
- const String& rNewValue,
- ScBaseCell* pOldCell );
-
SC_DLLPUBLIC void AppendInsert( const ScRange& );
// pRefDoc may be NULL => no lookup of contents
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 )
{
More information about the Libreoffice-commits
mailing list