summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo/refundo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/undo/refundo.cxx')
-rw-r--r--sc/source/ui/undo/refundo.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/undo/refundo.cxx b/sc/source/ui/undo/refundo.cxx
index e4ca41b3ed30..3fd8fbf82f00 100644
--- a/sc/source/ui/undo/refundo.cxx
+++ b/sc/source/ui/undo/refundo.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -59,14 +59,14 @@ ScRefUndoData::ScRefUndoData( const ScDocument* pDoc ) :
ScDBCollection* pOldDBColl = pDoc->GetDBCollection();
pDBCollection = pOldDBColl ? new ScDBCollection(*pOldDBColl) : NULL;
- ScRangeName* pOldRanges = ((ScDocument*)pDoc)->GetRangeName(); //! const
+ ScRangeName* pOldRanges = ((ScDocument*)pDoc)->GetRangeName(); //! const
pRangeName = pOldRanges ? new ScRangeName(*pOldRanges) : NULL;
- pPrintRanges = pDoc->CreatePrintRangeSaver(); // neu erzeugt
+ pPrintRanges = pDoc->CreatePrintRangeSaver(); // neu erzeugt
- //! bei Pivot nur Bereiche merken ???
+ //! bei Pivot nur Bereiche merken ???
- ScDPCollection* pOldDP = ((ScDocument*)pDoc)->GetDPCollection(); //! const
+ ScDPCollection* pOldDP = ((ScDocument*)pDoc)->GetDPCollection(); //! const
pDPCollection = pOldDP ? new ScDPCollection(*pOldDP) : NULL;
ScConditionalFormatList* pOldCond = pDoc->GetCondFormList();
@@ -80,7 +80,7 @@ ScRefUndoData::ScRefUndoData( const ScDocument* pDoc ) :
pChartListenerCollection = pOldChartListenerCollection ?
new ScChartListenerCollection( *pOldChartListenerCollection ) : NULL;
- pAreaLinks = ScAreaLinkSaveCollection::CreateFromDoc(pDoc); // returns NULL if empty
+ pAreaLinks = ScAreaLinkSaveCollection::CreateFromDoc(pDoc); // returns NULL if empty
const_cast<ScDocument*>(pDoc)->BeginUnoRefUndo();
}
@@ -108,7 +108,7 @@ void ScRefUndoData::DeleteUnchanged( const ScDocument* pDoc )
}
if (pRangeName)
{
- ScRangeName* pNewRanges = ((ScDocument*)pDoc)->GetRangeName(); //! const
+ ScRangeName* pNewRanges = ((ScDocument*)pDoc)->GetRangeName(); //! const
if ( pNewRanges && *pRangeName == *pNewRanges )
DELETEZ(pRangeName);
}
@@ -123,7 +123,7 @@ void ScRefUndoData::DeleteUnchanged( const ScDocument* pDoc )
if (pDPCollection)
{
- ScDPCollection* pNewDP = ((ScDocument*)pDoc)->GetDPCollection(); //! const
+ ScDPCollection* pNewDP = ((ScDocument*)pDoc)->GetDPCollection(); //! const
if ( pNewDP && pDPCollection->RefsEqual(*pNewDP) )
DELETEZ(pDPCollection);
}
@@ -197,7 +197,7 @@ void ScRefUndoData::DoUndo( ScDocument* pDoc, BOOL bUndoRefFirst )
if (pDBCollection || pRangeName)
{
BOOL bOldAutoCalc = pDoc->GetAutoCalc();
- pDoc->SetAutoCalc( FALSE ); // Mehrfachberechnungen vermeiden
+ pDoc->SetAutoCalc( FALSE ); // Mehrfachberechnungen vermeiden
pDoc->CompileAll();
pDoc->SetDirty();
pDoc->SetAutoCalc( bOldAutoCalc );