diff options
author | Eike Rathke <erack@redhat.com> | 2013-08-09 22:59:31 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-08-10 00:47:33 +0200 |
commit | ea4fc480c7317b16f4abbafacda3872bb7413357 (patch) | |
tree | 07ba17207d9354191968dde107b9244938de8980 /sc | |
parent | 299e6381ef8895ac8d0c762b603ab50b9cfc4441 (diff) |
sal_Bool to bool
Change-Id: If15bc8ae32674a7282861663ab4f91a958320a3c
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 4b39da6209bc..fe9cdba01bf5 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -3029,7 +3029,7 @@ ScDocShellModificator::ScDocShellModificator( ScDocShell& rDS ) ScDocument* pDoc = rDocShell.GetDocument(); bAutoCalcShellDisabled = pDoc->IsAutoCalcShellDisabled(); bIdleEnabled = pDoc->IsIdleEnabled(); - pDoc->SetAutoCalcShellDisabled( sal_True ); + pDoc->SetAutoCalcShellDisabled( true ); pDoc->EnableIdle(false); } @@ -3050,7 +3050,7 @@ void ScDocShellModificator::SetDocumentModified() if ( !pDoc->IsImportingXML() ) { // AutoCalcShellDisabled temporaer restaurieren - sal_Bool bDisabled = pDoc->IsAutoCalcShellDisabled(); + bool bDisabled = pDoc->IsAutoCalcShellDisabled(); pDoc->SetAutoCalcShellDisabled( bAutoCalcShellDisabled ); rDocShell.SetDocumentModified(); pDoc->SetAutoCalcShellDisabled( bDisabled ); diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 32349928533b..e83592149fd2 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -460,7 +460,7 @@ class SC_DLLPUBLIC ScDocShellModificator { ScDocShell& rDocShell; ScRefreshTimerProtector aProtector; - sal_Bool bAutoCalcShellDisabled; + bool bAutoCalcShellDisabled; bool bIdleEnabled; // not implemented |