summaryrefslogtreecommitdiffstats
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.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/undo/refundo.cxx b/sc/source/ui/undo/refundo.cxx
index c863259ddf94..dcbfc5b9e590 100644
--- a/sc/source/ui/undo/refundo.cxx
+++ b/sc/source/ui/undo/refundo.cxx
@@ -166,7 +166,7 @@ void ScRefUndoData::DeleteUnchanged( const ScDocument* pDoc )
}
}
-void ScRefUndoData::DoUndo( ScDocument* pDoc, BOOL bUndoRefFirst )
+void ScRefUndoData::DoUndo( ScDocument* pDoc, sal_Bool bUndoRefFirst )
{
if (pDBCollection)
pDoc->SetDBCollection( new ScDBCollection(*pDBCollection) );
@@ -195,8 +195,8 @@ void ScRefUndoData::DoUndo( ScDocument* pDoc, BOOL bUndoRefFirst )
if (pDBCollection || pRangeName)
{
- BOOL bOldAutoCalc = pDoc->GetAutoCalc();
- pDoc->SetAutoCalc( FALSE ); // Mehrfachberechnungen vermeiden
+ sal_Bool bOldAutoCalc = pDoc->GetAutoCalc();
+ pDoc->SetAutoCalc( sal_False ); // Mehrfachberechnungen vermeiden
pDoc->CompileAll();
pDoc->SetDirty();
pDoc->SetAutoCalc( bOldAutoCalc );