[Libreoffice-commits] core.git: vcl/source
Arnaud Versini
arnaud.versini at gmail.com
Tue Dec 16 12:34:33 PST 2014
vcl/source/helper/strhelper.cxx | 13 -------------
1 file changed, 13 deletions(-)
New commits:
commit 52e74ad27c6b59b886847a30ece68e80fe1b06b4
Author: Arnaud Versini <arnaud.versini at gmail.com>
Date: Sat Dec 13 11:43:24 2014 +0100
Remove useless overrides in vcl strhelper
Change-Id: I85996380ea5b3a157ba573182da0bc380effa1e5
Reviewed-on: https://gerrit.libreoffice.org/13464
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/helper/strhelper.cxx b/vcl/source/helper/strhelper.cxx
index 16698d00..1e22186 100644
--- a/vcl/source/helper/strhelper.cxx
+++ b/vcl/source/helper/strhelper.cxx
@@ -22,14 +22,6 @@
namespace psp {
-inline bool isSpace( char cChar )
-{
- return
- cChar == ' ' || cChar == '\t' ||
- cChar == '\r' || cChar == '\n' ||
- cChar == 0x0c || cChar == 0x0b;
-}
-
inline bool isSpace( sal_Unicode cChar )
{
return
@@ -38,11 +30,6 @@ inline bool isSpace( sal_Unicode cChar )
cChar == 0x0c || cChar == 0x0b;
}
-inline bool isProtect( char cChar )
-{
- return cChar == '`' || cChar == '\'' || cChar == '"';
-}
-
inline bool isProtect( sal_Unicode cChar )
{
return cChar == '`' || cChar == '\'' || cChar == '"';
More information about the Libreoffice-commits
mailing list