From 3957a49b124fcde5e17443c18f47930517a15c36 Mon Sep 17 00:00:00 2001 From: Santiago Martinez Date: Thu, 9 Feb 2012 20:45:46 +0100 Subject: Remove unused code. --- comphelper/inc/comphelper/string.hxx | 30 ------------------------------ comphelper/source/misc/string.cxx | 15 --------------- unusedcode.easy | 3 --- 3 files changed, 48 deletions(-) mode change 100644 => 100755 unusedcode.easy diff --git a/comphelper/inc/comphelper/string.hxx b/comphelper/inc/comphelper/string.hxx index e3d11d9d48e5..3fba475b976b 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 13a1236ea55e..712d9030ddf1 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(rString); } -bool isalnumAsciiString(const rtl::OUString &rString) -{ - return tmpl_is_OPER_AsciiString(rString); -} - bool isdigitAsciiString(const rtl::OString &rString) { return tmpl_is_OPER_AsciiString(rString); @@ -536,21 +531,11 @@ bool islowerAsciiString(const rtl::OString &rString) return tmpl_is_OPER_AsciiString(rString); } -bool islowerAsciiString(const rtl::OUString &rString) -{ - return tmpl_is_OPER_AsciiString(rString); -} - bool isupperAsciiString(const rtl::OString &rString) { return tmpl_is_OPER_AsciiString(rString); } -bool isupperAsciiString(const rtl::OUString &rString) -{ - return tmpl_is_OPER_AsciiString(rString); -} - } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/unusedcode.easy b/unusedcode.easy old mode 100644 new mode 100755 index f59ad597fb45..b316e2897930 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1182,9 +1182,6 @@ comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr const&, rtl::OUString const&, com::sun::star::uno::Any const&) const comphelper::findProperty(com::sun::star::beans::Property&, com::sun::star::uno::Sequence&, 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) -- cgit