Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d857f093
Kaydet (Commit)
d857f093
authored
Şub 08, 2012
tarafından
Greg Kroah-Hartman
Kaydeden (comit)
Norbert Thiebaud
Şub 08, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unicode: delete unused unicode:getCharType() method
üst
7267ab13
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
66 deletions
+0
-66
unicode.hxx
i18nutil/inc/i18nutil/unicode.hxx
+0
-1
unicode.cxx
i18nutil/source/utility/unicode.cxx
+0
-64
unusedcode.easy
unusedcode.easy
+0
-1
No files found.
i18nutil/inc/i18nutil/unicode.hxx
Dosyayı görüntüle @
d857f093
...
...
@@ -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
);
...
...
i18nutil/source/utility/unicode.cxx
Dosyayı görüntüle @
d857f093
...
...
@@ -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
...
...
unusedcode.easy
Dosyayı görüntüle @
d857f093
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment