diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:35:36 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:37:07 +0200 |
commit | 8353589e7a5626d840d05d3baa0ba79852f522f0 (patch) | |
tree | 55453898e26cc5e01b6f4ee45ea375c412950f55 /vcl/source | |
parent | cd3211dcf110a5a8a906c16c8f1b25b8fed94b40 (diff) |
WaE: implicit conversion (IntegralCast) from bool to 'int'
These two functions should surely be of type bool.
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/field2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx index af2845cefc5e..b0ae9bb898f8 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; |