[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Fri Aug 9 15:47:58 PDT 2013


 sc/source/ui/docshell/docsh.cxx |    4 ++--
 sc/source/ui/inc/docsh.hxx      |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit ea4fc480c7317b16f4abbafacda3872bb7413357
Author: Eike Rathke <erack at redhat.com>
Date:   Fri Aug 9 22:59:31 2013 +0200

    sal_Bool to bool
    
    Change-Id: If15bc8ae32674a7282861663ab4f91a958320a3c

diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 4b39da6..fe9cdba 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 3234992..e835921 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


More information about the Libreoffice-commits mailing list