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
7e579e6f
Kaydet (Commit)
7e579e6f
authored
Şub 08, 2012
tarafından
Alexander Bergmann
Kaydeden (comit)
Michael Meeks
Şub 08, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unusedcode.easy: Removed unused code (linguistic)
üst
09be8bbe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
62 deletions
+0
-62
misc.hxx
linguistic/inc/linguistic/misc.hxx
+0
-6
misc.cxx
linguistic/source/misc.cxx
+0
-51
unusedcode.easy
unusedcode.easy
+0
-5
No files found.
linguistic/inc/linguistic/misc.hxx
Dosyayı görüntüle @
7e579e6f
...
...
@@ -139,16 +139,10 @@ LNG_DLLPUBLIC sal_Int32 GetPosInWordToCheck( const rtl::OUString &rTxt, sal_Int3
LNG_DLLPUBLIC
sal_Bool
IsUpper
(
const
String
&
rText
,
xub_StrLen
nPos
,
xub_StrLen
nLen
,
sal_Int16
nLanguage
);
LNG_DLLPUBLIC
sal_Bool
IsLower
(
const
String
&
rText
,
xub_StrLen
nPos
,
xub_StrLen
nLen
,
sal_Int16
nLanguage
);
inline
sal_Bool
IsUpper
(
const
String
&
rText
,
sal_Int16
nLanguage
)
{
return
IsUpper
(
rText
,
0
,
rText
.
Len
(),
nLanguage
);
}
inline
sal_Bool
IsLower
(
const
String
&
rText
,
sal_Int16
nLanguage
)
{
return
IsLower
(
rText
,
0
,
rText
.
Len
(),
nLanguage
);
}
String
ToLower
(
const
String
&
rText
,
sal_Int16
nLanguage
);
String
ToUpper
(
const
String
&
rText
,
sal_Int16
nLanguage
);
String
ToTitle
(
const
String
&
rText
,
sal_Int16
nLanguage
);
sal_Unicode
ToLower
(
const
sal_Unicode
cChar
,
sal_Int16
nLanguage
);
sal_Unicode
ToUpper
(
const
sal_Unicode
cChar
,
sal_Int16
nLanguage
);
LNG_DLLPUBLIC
sal_Bool
HasDigits
(
const
::
rtl
::
OUString
&
rText
);
LNG_DLLPUBLIC
sal_Bool
IsNumeric
(
const
String
&
rText
);
...
...
linguistic/source/misc.cxx
Dosyayı görüntüle @
7e579e6f
...
...
@@ -635,18 +635,6 @@ sal_Bool IsUpper( const String &rText, xub_StrLen nPos, xub_StrLen nLen, sal_Int
}
sal_Bool
IsLower
(
const
String
&
rText
,
xub_StrLen
nPos
,
xub_StrLen
nLen
,
sal_Int16
nLanguage
)
{
MutexGuard
aGuard
(
lcl_GetCharClassMutex
()
);
CharClass
&
rCC
=
lcl_GetCharClass
();
rCC
.
setLocale
(
CreateLocale
(
nLanguage
)
);
sal_Int32
nFlags
=
rCC
.
getStringType
(
rText
,
nPos
,
nLen
);
return
(
nFlags
&
KCharacterType
::
LOWER
)
&&
!
(
nFlags
&
KCharacterType
::
UPPER
);
}
String
ToLower
(
const
String
&
rText
,
sal_Int16
nLanguage
)
{
MutexGuard
aGuard
(
lcl_GetCharClassMutex
()
);
...
...
@@ -657,45 +645,6 @@ String ToLower( const String &rText, sal_Int16 nLanguage )
}
String
ToUpper
(
const
String
&
rText
,
sal_Int16
nLanguage
)
{
MutexGuard
aGuard
(
lcl_GetCharClassMutex
()
);
CharClass
&
rCC
=
lcl_GetCharClass
();
rCC
.
setLocale
(
CreateLocale
(
nLanguage
)
);
return
rCC
.
uppercase
(
rText
);
}
String
ToTitle
(
const
String
&
rText
,
sal_Int16
nLanguage
)
{
MutexGuard
aGuard
(
lcl_GetCharClassMutex
()
);
CharClass
&
rCC
=
lcl_GetCharClass
();
rCC
.
setLocale
(
CreateLocale
(
nLanguage
)
);
return
rCC
.
titlecase
(
rText
);
}
sal_Unicode
ToLower
(
const
sal_Unicode
cChar
,
sal_Int16
nLanguage
)
{
MutexGuard
aGuard
(
lcl_GetCharClassMutex
()
);
CharClass
&
rCC
=
lcl_GetCharClass
();
rCC
.
setLocale
(
CreateLocale
(
nLanguage
)
);
return
rCC
.
lowercase
(
rtl
::
OUString
(
cChar
)
)[
0
];
}
sal_Unicode
ToUpper
(
const
sal_Unicode
cChar
,
sal_Int16
nLanguage
)
{
MutexGuard
aGuard
(
lcl_GetCharClassMutex
()
);
CharClass
&
rCC
=
lcl_GetCharClass
();
rCC
.
setLocale
(
CreateLocale
(
nLanguage
)
);
return
rCC
.
uppercase
(
rtl
::
OUString
(
cChar
)
)[
0
];
}
// sorted(!) array of unicode ranges for code points that are exclusively(!) used as numbers
// and thus may NOT not be part of names or words like the Chinese/Japanese number characters
static
const
sal_uInt32
the_aDigitZeroes
[]
=
...
...
unusedcode.easy
Dosyayı görüntüle @
7e579e6f
...
...
@@ -1285,11 +1285,6 @@ libcmis::SessionFactory::getRepositories(std::__debug::map<int, std::basic_strin
libvisio::VisioDocument::generateSVG(WPXInputStream*, WPXString&)
libwpg::WPGraphics::generateSVG(unsigned char const*, unsigned long, WPXString&, libwpg::WPGFileFormat)
libwpg::WPGraphics::parse(unsigned char const*, unsigned long, libwpg::WPGPaintInterface*, libwpg::WPGFileFormat)
linguistic::IsLower(String const&, unsigned short, unsigned short, short)
linguistic::ToLower(unsigned short, short)
linguistic::ToTitle(String const&, short)
linguistic::ToUpper(String const&, short)
linguistic::ToUpper(unsigned short, short)
nullcanvas::CanvasFont::getFontMatrix() const
nullcanvas::CanvasHelper::flush() const
nullcanvas::CanvasHelper::getPalette()
...
...
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