diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:48:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:50:26 +0200 |
commit | df94df2d7beba113f915c92f5ccb3af706ac08d6 (patch) | |
tree | 456f90c41d0ae59d77e563885d397d64ed9d8c1b /vcl | |
parent | WaE: implicit conversion (IntegralCast) from bool to 'sal_uLong' (diff) | |
download | core-df94df2d7beba113f915c92f5ccb3af706ac08d6.tar.gz core-df94df2d7beba113f915c92f5ccb3af706ac08d6.zip |
WaE: implicit conversion (IntegralCast) from bool to 'int'
The bIncludeUntil parameter is used as a bool, so make it a bool. It is passed
bool values anyway.
Change-Id: If477419e8d94af69ad2bd5b452819e83a5a8149f
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/helper/strhelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx index 4376ab185fbf..53fd5b084429 100644 --- a/vcl/source/helper/strhelper.cxx +++ b/vcl/source/helper/strhelper.cxx @@ -49,7 +49,7 @@ inline bool isProtect( sal_Unicode cChar ) return cChar == '`' || cChar == '\'' || cChar == '"'; } -inline void CopyUntil( char*& pTo, const char*& pFrom, char cUntil, int bIncludeUntil = 0 ) +inline void CopyUntil( char*& pTo, const char*& pFrom, char cUntil, bool bIncludeUntil = false ) { do { @@ -80,7 +80,7 @@ inline void CopyUntil( char*& pTo, const char*& pFrom, char cUntil, int bInclude pFrom++; } -inline void CopyUntil( sal_Unicode*& pTo, const sal_Unicode*& pFrom, sal_Unicode cUntil, int bIncludeUntil = 0 ) +inline void CopyUntil( sal_Unicode*& pTo, const sal_Unicode*& pFrom, sal_Unicode cUntil, bool bIncludeUntil = false ) { do { |