[Libreoffice-commits] .: basctl/source

August Sodora augsod at kemper.freedesktop.org
Sun Dec 4 15:56:35 PST 2011


 basctl/source/inc/bastypes.hxx |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

New commits:
commit 71de946a1a2f5479667abd0e8cd0446b1db3ee96
Author: August Sodora <augsod at gmail.com>
Date:   Sun Dec 4 18:55:49 2011 -0500

    sal_Bool to bool

diff --git a/basctl/source/inc/bastypes.hxx b/basctl/source/inc/bastypes.hxx
index 25b276a..8684fe5 100644
--- a/basctl/source/inc/bastypes.hxx
+++ b/basctl/source/inc/bastypes.hxx
@@ -53,14 +53,16 @@ sal_Int32 searchEOL( const ::rtl::OUString& rStr, sal_Int32 fromIndex );
 
 struct BasicStatus
 {
-    sal_Bool    bIsRunning      : 1;
-    sal_Bool    bError          : 1;
-    sal_Bool    bIsInReschedule : 1;
-    sal_uInt16  nBasicFlags;
-
-    BasicStatus()   {
-            bIsRunning = sal_False; bError = sal_False;
-            nBasicFlags = 0; bIsInReschedule = sal_False; }
+    bool bIsRunning : 1;
+    bool bError : 1;
+    bool bIsInReschedule : 1;
+    sal_uInt16 nBasicFlags;
+
+    BasicStatus():
+        bIsRunning(false),
+        bError(false),
+        bIsInReschedule(false),
+        nBasicFlags(0) { }
 };
 
 struct BreakPoint


More information about the Libreoffice-commits mailing list