diff options
Diffstat (limited to 'sc/source/core/data/documen7.cxx')
-rw-r--r-- | sc/source/core/data/documen7.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/sc/source/core/data/documen7.cxx b/sc/source/core/data/documen7.cxx index fba5fa0a1b82..1cca198ffe23 100644 --- a/sc/source/core/data/documen7.cxx +++ b/sc/source/core/data/documen7.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 @@ -44,14 +44,14 @@ #include "brdcst.hxx" #include "bcaslot.hxx" #include "cell.hxx" -#include "formula/errorcodes.hxx" // errCircularReference +#include "formula/errorcodes.hxx" // errCircularReference #include "scerrors.hxx" #include "docoptio.hxx" #include "refupdat.hxx" #include "table.hxx" #include "progress.hxx" -#include "scmod.hxx" // SC_MOD -#include "inputopt.hxx" // GetExpandRefs +#include "scmod.hxx" // SC_MOD +#include "inputopt.hxx" // GetExpandRefs #include "conditio.hxx" #include "sheetevents.hxx" #include <tools/shl.hxx> @@ -59,7 +59,7 @@ #include "globstr.hrc" -extern const ScFormulaCell* pLastFormulaTreeTop; // cellform.cxx Err527 WorkAround +extern const ScFormulaCell* pLastFormulaTreeTop; // cellform.cxx Err527 WorkAround // STATIC DATA ----------------------------------------------------------- @@ -93,7 +93,7 @@ void ScDocument::Broadcast( ULONG nHint, const ScAddress& rAddr, ) { if ( !pBASM ) - return ; // Clipboard or Undo + return ; // Clipboard or Undo ScHint aHint( nHint, rAddr, pCell ); Broadcast( aHint ); } @@ -102,7 +102,7 @@ void ScDocument::Broadcast( ULONG nHint, const ScAddress& rAddr, void ScDocument::Broadcast( const ScHint& rHint ) { if ( !pBASM ) - return ; // Clipboard or Undo + return ; // Clipboard or Undo if ( !nHardRecalcState ) { ScBulkBroadcast aBulkBroadcast( pBASM); // scoped bulk broadcast @@ -121,7 +121,7 @@ void ScDocument::Broadcast( const ScHint& rHint ) TrackFormulas( rHint.GetId() ); } - // Repaint fuer bedingte Formate mit relativen Referenzen: + // Repaint fuer bedingte Formate mit relativen Referenzen: if ( pCondFormList && rHint.GetAddress() != BCA_BRDCST_ALWAYS ) pCondFormList->SourceChanged( rHint.GetAddress() ); @@ -137,7 +137,7 @@ void ScDocument::Broadcast( const ScHint& rHint ) void ScDocument::AreaBroadcast( const ScHint& rHint ) { if ( !pBASM ) - return ; // Clipboard or Undo + return ; // Clipboard or Undo if ( !nHardRecalcState ) { ScBulkBroadcast aBulkBroadcast( pBASM); // scoped bulk broadcast @@ -145,7 +145,7 @@ void ScDocument::AreaBroadcast( const ScHint& rHint ) TrackFormulas( rHint.GetId() ); } - // Repaint fuer bedingte Formate mit relativen Referenzen: + // Repaint fuer bedingte Formate mit relativen Referenzen: if ( pCondFormList && rHint.GetAddress() != BCA_BRDCST_ALWAYS ) pCondFormList->SourceChanged( rHint.GetAddress() ); } @@ -227,7 +227,7 @@ void ScDocument::PutInFormulaTree( ScFormulaCell* pCell ) if ( pEOFormulaTree ) pEOFormulaTree->SetNext( pCell ); else - pFormulaTree = pCell; // kein Ende, kein Anfang.. + pFormulaTree = pCell; // kein Ende, kein Anfang.. pCell->SetPrevious( pEOFormulaTree ); pCell->SetNext( 0 ); pEOFormulaTree = pCell; @@ -244,13 +244,13 @@ void ScDocument::RemoveFromFormulaTree( ScFormulaCell* pCell ) { ScFormulaCell* pNext = pCell->GetNext(); if ( pPrev ) - pPrev->SetNext( pNext ); // gibt Vorlaeufer + pPrev->SetNext( pNext ); // gibt Vorlaeufer else - pFormulaTree = pNext; // ist erste Zelle + pFormulaTree = pNext; // ist erste Zelle if ( pNext ) - pNext->SetPrevious( pPrev ); // gibt Nachfolger + pNext->SetPrevious( pPrev ); // gibt Nachfolger else - pEOFormulaTree = pPrev; // ist letzte Zelle + pEOFormulaTree = pPrev; // ist letzte Zelle pCell->SetPrevious( 0 ); pCell->SetNext( 0 ); USHORT nRPN = pCell->GetCode()->GetCodeLen(); @@ -299,7 +299,7 @@ void ScDocument::CalcFormulaTree( BOOL bOnlyForced, BOOL bNoProgress ) while ( pCell ) { if ( pCell->GetDirty() ) - pCell = pCell->GetNext(); // alles klar + pCell = pCell->GetNext(); // alles klar else { if ( pCell->GetCode()->IsRecalcModeAlways() ) @@ -312,7 +312,7 @@ void ScDocument::CalcFormulaTree( BOOL bOnlyForced, BOOL bNoProgress ) pCell = pNext; } else - { // andere simpel berechnen + { // andere simpel berechnen pCell->SetDirtyVar(); pCell = pCell->GetNext(); } @@ -405,7 +405,7 @@ void ScDocument::AppendToFormulaTrack( ScFormulaCell* pCell ) if ( pEOFormulaTrack ) pEOFormulaTrack->SetNextTrack( pCell ); else - pFormulaTrack = pCell; // kein Ende, kein Anfang.. + pFormulaTrack = pCell; // kein Ende, kein Anfang.. pCell->SetPreviousTrack( pEOFormulaTrack ); pCell->SetNextTrack( 0 ); pEOFormulaTrack = pCell; @@ -422,13 +422,13 @@ void ScDocument::RemoveFromFormulaTrack( ScFormulaCell* pCell ) { ScFormulaCell* pNext = pCell->GetNextTrack(); if ( pPrev ) - pPrev->SetNextTrack( pNext ); // gibt Vorlaeufer + pPrev->SetNextTrack( pNext ); // gibt Vorlaeufer else - pFormulaTrack = pNext; // ist erste Zelle + pFormulaTrack = pNext; // ist erste Zelle if ( pNext ) - pNext->SetPreviousTrack( pPrev ); // gibt Nachfolger + pNext->SetPreviousTrack( pPrev ); // gibt Nachfolger else - pEOFormulaTrack = pPrev; // ist letzte Zelle + pEOFormulaTrack = pPrev; // ist letzte Zelle pCell->SetPreviousTrack( 0 ); pCell->SetNextTrack( 0 ); --nFormulaTrackCount; @@ -466,7 +466,7 @@ void ScDocument::TrackFormulas( ULONG nHintId ) if ( ( pBC = pTrack->GetBroadcaster() ) != NULL ) pBC->Broadcast( aHint ); pBASM->AreaBroadcast( aHint ); - // Repaint fuer bedingte Formate mit relativen Referenzen: + // Repaint fuer bedingte Formate mit relativen Referenzen: if ( pCondFormList ) pCondFormList->SourceChanged( pTrack->aPos ); // for "calculate" event, keep track of which sheets are affected by tracked formulas |