diff options
Diffstat (limited to 'include/rtl')
-rw-r--r-- | include/rtl/ustrbuf.hxx | 6 |
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); } |