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

New commits:
commit 8353589e7a5626d840d05d3baa0ba79852f522f0
Author: Tor Lillqvist <t...@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;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to