[Libreoffice-commits] .: comphelper/inc comphelper/source unusedcode.easy

Caolán McNamara caolan at kemper.freedesktop.org
Fri Feb 10 01:53:25 PST 2012


 comphelper/inc/comphelper/string.hxx |   30 ------------------------------
 comphelper/source/misc/string.cxx    |   15 ---------------
 unusedcode.easy                      |    3 ---
 3 files changed, 48 deletions(-)

New commits:
commit 3957a49b124fcde5e17443c18f47930517a15c36
Author: Santiago Martinez <smvarela at gmail.com>
Date:   Thu Feb 9 20:45:46 2012 +0100

    Remove unused code.

diff --git a/comphelper/inc/comphelper/string.hxx b/comphelper/inc/comphelper/string.hxx
index e3d11d9..3fba475 100644
--- a/comphelper/inc/comphelper/string.hxx
+++ b/comphelper/inc/comphelper/string.hxx
@@ -593,16 +593,6 @@ COMPHELPER_DLLPUBLIC bool isdigitAsciiString(const rtl::OUString &rString);
  */
 COMPHELPER_DLLPUBLIC bool isalnumAsciiString(const rtl::OString &rString);
 
-/** Determine if an OUString contains solely ASCII alphanumeric chars/digits
-
-    @param rString  An OUString
-
-    @return         false if string contains any characters outside
-                    the ASCII 'a'-'z', 'A'-'Z' and '0'-'9' ranges
-                    true otherwise, including for empty string
- */
-COMPHELPER_DLLPUBLIC bool isalnumAsciiString(const rtl::OUString &rString);
-
 /** Determine if an OString contains solely ASCII lower-case chars
 
     @param rString  An OString
@@ -613,16 +603,6 @@ COMPHELPER_DLLPUBLIC bool isalnumAsciiString(const rtl::OUString &rString);
  */
 COMPHELPER_DLLPUBLIC bool islowerAsciiString(const rtl::OString &rString);
 
-/** Determine if an OUString contains solely ASCII lower-case chars
-
-    @param rString  An OUString
-
-    @return         false if string contains any characters outside
-                    the ASCII 'a'-'z' ranges
-                    true otherwise, including for empty string
- */
-COMPHELPER_DLLPUBLIC bool islowerAsciiString(const rtl::OUString &rString);
-
 /** Determine if an OString contains solely ASCII upper-case chars
 
     @param rString  An OString
@@ -633,16 +613,6 @@ COMPHELPER_DLLPUBLIC bool islowerAsciiString(const rtl::OUString &rString);
  */
 COMPHELPER_DLLPUBLIC bool isupperAsciiString(const rtl::OString &rString);
 
-/** Determine if an OUString contains solely ASCII upper-case chars
-
-    @param rString  An OUString
-
-    @return         false if string contains any characters outside
-                    the ASCII 'A'-'Z' ranges
-                    true otherwise, including for empty string
- */
-COMPHELPER_DLLPUBLIC bool isupperAsciiString(const rtl::OUString &rString);
-
 COMPHELPER_DLLPUBLIC inline bool isdigitAscii(sal_Unicode c)
 {
     return ((c >= '0') && (c <= '9'));
diff --git a/comphelper/source/misc/string.cxx b/comphelper/source/misc/string.cxx
index 13a1236..712d903 100644
--- a/comphelper/source/misc/string.cxx
+++ b/comphelper/source/misc/string.cxx
@@ -516,11 +516,6 @@ bool isalnumAsciiString(const rtl::OString &rString)
     return tmpl_is_OPER_AsciiString<isalnumAscii>(rString);
 }
 
-bool isalnumAsciiString(const rtl::OUString &rString)
-{
-    return tmpl_is_OPER_AsciiString<isalnumAscii>(rString);
-}
-
 bool isdigitAsciiString(const rtl::OString &rString)
 {
     return tmpl_is_OPER_AsciiString<isdigitAscii>(rString);
@@ -536,21 +531,11 @@ bool islowerAsciiString(const rtl::OString &rString)
     return tmpl_is_OPER_AsciiString<islowerAscii>(rString);
 }
 
-bool islowerAsciiString(const rtl::OUString &rString)
-{
-    return tmpl_is_OPER_AsciiString<islowerAscii>(rString);
-}
-
 bool isupperAsciiString(const rtl::OString &rString)
 {
     return tmpl_is_OPER_AsciiString<isupperAscii>(rString);
 }
 
-bool isupperAsciiString(const rtl::OUString &rString)
-{
-    return tmpl_is_OPER_AsciiString<isupperAscii>(rString);
-}
-
 } }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/unusedcode.easy b/unusedcode.easy
old mode 100644
new mode 100755
index f59ad59..b316e28
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1182,9 +1182,6 @@ comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<co
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
 comphelper::findProperty(com::sun::star::beans::Property&, com::sun::star::uno::Sequence<com::sun::star::beans::Property>&, rtl::OUString const&)
-comphelper::string::isalnumAsciiString(rtl::OUString const&)
-comphelper::string::islowerAsciiString(rtl::OUString const&)
-comphelper::string::isupperAsciiString(rtl::OUString const&)
 connectivity::OKeyValue::OKeyValue()
 connectivity::ORowSetValue::setFromDouble(double const&, int)
 connectivity::OSQLInternalNode::OSQLInternalNode(unsigned short const*, connectivity::SQLNodeType, unsigned int)


More information about the Libreoffice-commits mailing list