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

Tor Lillqvist tml at collabora.com
Fri Feb 28 01:39:34 PST 2014


 vcl/source/control/field2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 8353589e7a5626d840d05d3baa0ba79852f522f0
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Feb 28 11:35:36 2014 +0200

    WaE: implicit conversion (IntegralCast) from bool to 'int'
    
    These two functions should surely be of type bool.

diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index af2845c..b0ae9bb 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -144,7 +144,7 @@ static void ImplSkipDelimiters( const sal_Unicode*& rpBuf )
     }
 }
 
-static int ImplIsPatternChar( sal_Unicode cChar, sal_Char cEditMask )
+static bool ImplIsPatternChar( sal_Unicode cChar, sal_Char cEditMask )
 {
     sal_Int32 nType = 0;
 
@@ -209,7 +209,7 @@ static sal_Unicode ImplPatternChar( sal_Unicode cChar, sal_Char cEditMask )
         return 0;
 }
 
-static int ImplCommaPointCharEqual( sal_Unicode c1, sal_Unicode c2 )
+static bool ImplCommaPointCharEqual( sal_Unicode c1, sal_Unicode c2 )
 {
     if ( c1 == c2 )
         return true;


More information about the Libreoffice-commits mailing list