summaryrefslogtreecommitdiff
path: root/vcl/source/helper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-17 17:02:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-17 18:45:14 +0100
commit5169abbac92f30b950ab19c2c8e285c47fb1f0d7 (patch)
tree12dc79b6a99b1978982f816037a9c1bad23032f0 /vcl/source/helper
parent3e5ff1f8d4da3470fa4016264c9410834a9736d8 (diff)
bool improvements
Change-Id: I7ec4f5b2e691ec03e9e2c5ca3a004f1e04efbc27
Diffstat (limited to 'vcl/source/helper')
-rw-r--r--vcl/source/helper/strhelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx
index 41e82929d24a..b5a35266415c 100644
--- a/vcl/source/helper/strhelper.cxx
+++ b/vcl/source/helper/strhelper.cxx
@@ -23,7 +23,7 @@
namespace psp {
-inline int isSpace( char cChar )
+inline bool isSpace( char cChar )
{
return
cChar == ' ' || cChar == '\t' ||
@@ -31,7 +31,7 @@ inline int isSpace( char cChar )
cChar == 0x0c || cChar == 0x0b;
}
-inline int isSpace( sal_Unicode cChar )
+inline bool isSpace( sal_Unicode cChar )
{
return
cChar == ' ' || cChar == '\t' ||
@@ -39,12 +39,12 @@ inline int isSpace( sal_Unicode cChar )
cChar == 0x0c || cChar == 0x0b;
}
-inline int isProtect( char cChar )
+inline bool isProtect( char cChar )
{
return cChar == '`' || cChar == '\'' || cChar == '"';
}
-inline int isProtect( sal_Unicode cChar )
+inline bool isProtect( sal_Unicode cChar )
{
return cChar == '`' || cChar == '\'' || cChar == '"';
}