summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--i18nutil/inc/i18nutil/unicode.hxx1
-rw-r--r--i18nutil/source/utility/unicode.cxx64
-rw-r--r--unusedcode.easy1
3 files changed, 0 insertions, 66 deletions
diff --git a/i18nutil/inc/i18nutil/unicode.hxx b/i18nutil/inc/i18nutil/unicode.hxx
index 7fce041af251..f9ff6e172225 100644
--- a/i18nutil/inc/i18nutil/unicode.hxx
+++ b/i18nutil/inc/i18nutil/unicode.hxx
@@ -48,7 +48,6 @@ public:
static sal_Unicode SAL_CALL getUnicodeScriptStart(com::sun::star::i18n::UnicodeScript type);
static sal_Unicode SAL_CALL getUnicodeScriptEnd(com::sun::star::i18n::UnicodeScript type);
static sal_uInt8 SAL_CALL getUnicodeDirection( const sal_Unicode ch );
- static sal_Int32 SAL_CALL getCharType( const sal_Unicode ch );
static sal_Bool SAL_CALL isUpper( const sal_Unicode ch);
static sal_Bool SAL_CALL isLower( const sal_Unicode ch);
static sal_Bool SAL_CALL isDigit( const sal_Unicode ch);
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx
index 056e78a13b02..dcc5b3664e2a 100644
--- a/i18nutil/source/utility/unicode.cxx
+++ b/i18nutil/source/utility/unicode.cxx
@@ -425,70 +425,6 @@ sal_Bool SAL_CALL unicode::isWhiteSpace( const sal_Unicode ch) {
return (ch != 0xa0 && isSpace(ch)) || (ch <= 0x1F && (bit(ch) & (CONTROLSPACE)));
}
-sal_Int32 SAL_CALL unicode::getCharType( const sal_Unicode ch )
-{
- using namespace ::com::sun::star::i18n::KCharacterType;
-
- switch ( getUnicodeType( ch ) ) {
- // Upper
- case UnicodeType::UPPERCASE_LETTER :
- return UPPER|LETTER|PRINTABLE|BASE_FORM;
-
- // Lower
- case UnicodeType::LOWERCASE_LETTER :
- return LOWER|LETTER|PRINTABLE|BASE_FORM;
-
- // Title
- case UnicodeType::TITLECASE_LETTER :
- return TITLE_CASE|LETTER|PRINTABLE|BASE_FORM;
-
- // Letter
- case UnicodeType::MODIFIER_LETTER :
- case UnicodeType::OTHER_LETTER :
- return LETTER|PRINTABLE|BASE_FORM;
-
- // Digit
- case UnicodeType::DECIMAL_DIGIT_NUMBER:
- case UnicodeType::LETTER_NUMBER:
- case UnicodeType::OTHER_NUMBER:
- return DIGIT|PRINTABLE|BASE_FORM;
-
- // Base
- case UnicodeType::NON_SPACING_MARK:
- case UnicodeType::ENCLOSING_MARK:
- case UnicodeType::COMBINING_SPACING_MARK:
- return BASE_FORM|PRINTABLE;
-
- // Print
- case UnicodeType::SPACE_SEPARATOR:
-
- case UnicodeType::DASH_PUNCTUATION:
- case UnicodeType::INITIAL_PUNCTUATION:
- case UnicodeType::FINAL_PUNCTUATION:
- case UnicodeType::CONNECTOR_PUNCTUATION:
- case UnicodeType::OTHER_PUNCTUATION:
-
- case UnicodeType::MATH_SYMBOL:
- case UnicodeType::CURRENCY_SYMBOL:
- case UnicodeType::MODIFIER_SYMBOL:
- case UnicodeType::OTHER_SYMBOL:
- return PRINTABLE;
-
- // Control
- case UnicodeType::CONTROL:
- case UnicodeType::FORMAT:
- return CONTROL;
-
- case UnicodeType::LINE_SEPARATOR:
- case UnicodeType::PARAGRAPH_SEPARATOR:
- return CONTROL|PRINTABLE;
-
- // for all others
- default:
- return 0;
- }
-}
-
sal_Int16 SAL_CALL unicode::getScriptClassFromUScriptCode(UScriptCode eScript)
{
//See unicode/uscript.h
diff --git a/unusedcode.easy b/unusedcode.easy
index 6ef2359274dc..a8e85435a06a 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1541,7 +1541,6 @@ ucbhelper::Content::getPropertyValues(com::sun::star::uno::Sequence<int> const&)
ucbhelper::Content::insertNewContent(rtl::OUString const&, com::sun::star::uno::Sequence<int> const&, com::sun::star::uno::Sequence<com::sun::star::uno::Any> const&, com::sun::star::uno::Reference<com::sun::star::io::XInputStream> const&, ucbhelper::Content&)
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)
unographic::GraphicDescriptor::isValid() const
utl::NodeValueAccessor::bind(com::sun::star::uno::Any*)
utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const