summaryrefslogtreecommitdiff
path: root/include/rtl/ustrbuf.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-03-30 09:36:06 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-03-30 12:21:40 +0000
commitda56de9ac4824eb365af20b351719395e725be39 (patch)
treef19ad159f5e12b9e62b2ee50f39016819b7a7c5c /include/rtl/ustrbuf.hxx
parent8d1a56c206e5c2ed6c331049198bb8ebc6176171 (diff)
remove type decorations on char literals
they are only needed where type deduction fails. left them in defines for now. Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09 Reviewed-on: https://gerrit.libreoffice.org/35893 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/rtl/ustrbuf.hxx')
-rw-r--r--include/rtl/ustrbuf.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rtl/ustrbuf.hxx b/include/rtl/ustrbuf.hxx
index 1a39bd3fe19f..680572666ed8 100644
--- a/include/rtl/ustrbuf.hxx
+++ b/include/rtl/ustrbuf.hxx
@@ -1504,7 +1504,7 @@ public:
@return The number of characters stripped
*/
- sal_Int32 stripStart(sal_Unicode c = (sal_Unicode)' ')
+ sal_Int32 stripStart(sal_Unicode c = ' ')
{
sal_Int32 index;
for(index = 0; index < getLength() ; index++)
@@ -1530,7 +1530,7 @@ public:
@return The number of characters stripped
*/
- sal_Int32 stripEnd(sal_Unicode c = (sal_Unicode)' ')
+ sal_Int32 stripEnd(sal_Unicode c = ' ')
{
sal_Int32 result = getLength();
sal_Int32 index;
@@ -1556,7 +1556,7 @@ public:
@return The number of characters stripped
*/
- sal_Int32 strip(sal_Unicode c = (sal_Unicode)' ')
+ sal_Int32 strip(sal_Unicode c = ' ')
{
return stripStart(c) + stripEnd(c);
}