[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Wed Aug 3 16:51:08 PDT 2011


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

New commits:
commit 148463fac3092de7eb22635c76740715f7ca3d3b
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Aug 3 23:53:08 2011 +0200

    change from sal_Bool to bool

diff --git a/sc/source/ui/inc/datafdlg.hxx b/sc/source/ui/inc/datafdlg.hxx
index fadc688..3511261 100644
--- a/sc/source/ui/inc/datafdlg.hxx
+++ b/sc/source/ui/inc/datafdlg.hxx
@@ -73,7 +73,7 @@ private:
     SCROW           nStartRow;
     SCROW           nEndRow;
     SCTAB           nTab;
-    sal_Bool            bNoSelection;
+    bool            bNoSelection;
 
     boost::ptr_vector<FixedText> maFixedTexts;
     boost::ptr_vector<Edit> maEdits;
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index bc15f8a..ed8f7c3 100644
--- a/sc/source/ui/miscdlgs/datafdlg.cxx
+++ b/sc/source/ui/miscdlgs/datafdlg.cxx
@@ -286,13 +286,13 @@ IMPL_LINK( ScDataFormDlg, Impl_NewHdl, PushButton*, EMPTYARG )
     ScDocShell* pDocSh = pViewData->GetDocShell();
     if ( pDoc )
     {
-        sal_Bool bHasData = false;
+        bool bHasData = false;
         boost::ptr_vector<Edit>::iterator itr = maEdits.begin(), itrEnd = maEdits.end();
         for(; itr != itrEnd; ++itr)
             if (!boost::is_null(itr))
                 if ( (*itr).GetText().Len() != 0 )
                 {
-                    bHasData = sal_True;
+                    bHasData = true;
                     break;
                 }
 


More information about the Libreoffice-commits mailing list