[PATCH 2/8] unicode: delete unused unicode:isPunctuation() method
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Wed Feb 8 08:57:39 PST 2012
---
i18nutil/inc/i18nutil/unicode.hxx | 1 -
i18nutil/source/utility/unicode.cxx | 1 -
unusedcode.easy | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/i18nutil/inc/i18nutil/unicode.hxx b/i18nutil/inc/i18nutil/unicode.hxx
index 23ed754..75b5730 100644
--- a/i18nutil/inc/i18nutil/unicode.hxx
+++ b/i18nutil/inc/i18nutil/unicode.hxx
@@ -59,7 +59,6 @@ public:
static sal_Bool SAL_CALL isSpace( const sal_Unicode ch);
static sal_Bool SAL_CALL isWhiteSpace( const sal_Unicode ch);
static sal_Bool SAL_CALL isAlphaDigit( const sal_Unicode ch);
- static sal_Bool SAL_CALL isPunctuation( const sal_Unicode ch);
//Map an ISO 15924 script code to Latin/Asian/Complex/Weak
static sal_Int16 SAL_CALL getScriptClassFromUScriptCode(UScriptCode eScript);
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 873ecd8..9ebc9d8 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -418,7 +418,6 @@ IsType(unicode::isAlpha, ALPHAMASK)
IsType(unicode::isDigit, DIGITMASK)
IsType(unicode::isAlphaDigit, ALPHAMASK|DIGITMASK)
IsType(unicode::isSpace, SPACEMASK)
-IsType(unicode::isPunctuation, PUNCTUATIONMASK)
#define CONTROLSPACE bit(0x09)|bit(0x0a)|bit(0x0b)|bit(0x0c)|bit(0x0d)|\
bit(0x1c)|bit(0x1d)|bit(0x1e)|bit(0x1f)
diff --git a/unusedcode.easy b/unusedcode.easy
index c2c6946..3939d9f 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1528,7 +1528,6 @@ ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::
ucbhelper::ContentBroker::ContentBroker(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&, std::__debug::vector<ucbhelper::ContentProviderData, std::allocator<ucbhelper::ContentProviderData> > const&)
ucbhelper::SimpleCertificateValidationRequest::getResponse() const
unicode::getCharType(unsigned short)
-unicode::isPunctuation(unsigned short)
unicode::isTitle(unsigned short)
unographic::GraphicDescriptor::isValid() const
utl::NodeValueAccessor::bind(com::sun::star::uno::Any*)
--
1.7.9
More information about the LibreOffice
mailing list