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
36703ca1
Kaydet (Commit)
36703ca1
authored
Agu 21, 2011
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
unusedcode: CollatorWrapper
üst
fb9f4d81
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
73 deletions
+0
-73
collatorwrapper.hxx
unotools/inc/unotools/collatorwrapper.hxx
+0
-15
collatorwrapper.cxx
unotools/source/i18n/collatorwrapper.cxx
+0
-55
unusedcode.easy
unusedcode.easy
+0
-3
No files found.
unotools/inc/unotools/collatorwrapper.hxx
Dosyayı görüntüle @
36703ca1
...
...
@@ -56,11 +56,6 @@ class UNOTOOLS_DLLPUBLIC CollatorWrapper
~
CollatorWrapper
();
sal_Int32
compareSubstring
(
const
::
rtl
::
OUString
&
s1
,
sal_Int32
off1
,
sal_Int32
len1
,
const
::
rtl
::
OUString
&
s2
,
sal_Int32
off2
,
sal_Int32
len2
)
const
;
sal_Int32
compareString
(
const
::
rtl
::
OUString
&
s1
,
const
::
rtl
::
OUString
&
s2
)
const
;
...
...
@@ -69,10 +64,6 @@ class UNOTOOLS_DLLPUBLIC CollatorWrapper
listCollatorAlgorithms
(
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
const
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int32
>
listCollatorOptions
(
const
::
rtl
::
OUString
&
rAlgorithm
)
const
;
sal_Int32
loadDefaultCollator
(
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
sal_Int32
nOption
);
...
...
@@ -82,12 +73,6 @@ class UNOTOOLS_DLLPUBLIC CollatorWrapper
const
::
rtl
::
OUString
&
rAlgorithm
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
sal_Int32
nOption
);
void
loadCollatorAlgorithmWithEndUserOption
(
const
::
rtl
::
OUString
&
rAlgorithm
,
const
::
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
sal_Int32
>&
rOption
);
protected
:
CollatorWrapper
();
...
...
unotools/source/i18n/collatorwrapper.cxx
Dosyayı görüntüle @
36703ca1
...
...
@@ -49,26 +49,6 @@ CollatorWrapper::~CollatorWrapper()
{
}
sal_Int32
CollatorWrapper
::
compareSubstring
(
const
::
rtl
::
OUString
&
s1
,
sal_Int32
off1
,
sal_Int32
len1
,
const
::
rtl
::
OUString
&
s2
,
sal_Int32
off2
,
sal_Int32
len2
)
const
{
try
{
if
(
mxInternationalCollator
.
is
())
return
mxInternationalCollator
->
compareSubstring
(
s1
,
off1
,
len1
,
s2
,
off2
,
len2
);
}
catch
(
uno
::
RuntimeException
&
rRuntimeException
)
{
(
void
)
rRuntimeException
;
DBG_ERRORFILE
(
"CollatorWrapper: compareSubstring failed"
);
}
return
0
;
}
sal_Int32
CollatorWrapper
::
compareString
(
const
::
rtl
::
OUString
&
s1
,
const
::
rtl
::
OUString
&
s2
)
const
{
...
...
@@ -103,23 +83,6 @@ CollatorWrapper::listCollatorAlgorithms (const lang::Locale& rLocale) const
return
uno
::
Sequence
<
::
rtl
::
OUString
>
();
}
uno
::
Sequence
<
sal_Int32
>
CollatorWrapper
::
listCollatorOptions
(
const
::
rtl
::
OUString
&
rAlgorithm
)
const
{
try
{
if
(
mxInternationalCollator
.
is
())
return
mxInternationalCollator
->
listCollatorOptions
(
rAlgorithm
);
}
catch
(
uno
::
RuntimeException
&
rRuntimeException
)
{
(
void
)
rRuntimeException
;
DBG_ERRORFILE
(
"CollatorWrapper: listCollatorOptions failed"
);
}
return
uno
::
Sequence
<
sal_Int32
>
();
}
sal_Int32
CollatorWrapper
::
loadDefaultCollator
(
const
lang
::
Locale
&
rLocale
,
sal_Int32
nOptions
)
{
...
...
@@ -157,22 +120,4 @@ CollatorWrapper::loadCollatorAlgorithm (const ::rtl::OUString& rAlgorithm,
}
void
CollatorWrapper
::
loadCollatorAlgorithmWithEndUserOption
(
const
::
rtl
::
OUString
&
rAlgorithm
,
const
lang
::
Locale
&
rLocale
,
const
uno
::
Sequence
<
sal_Int32
>&
rOption
)
{
try
{
if
(
mxInternationalCollator
.
is
())
mxInternationalCollator
->
loadCollatorAlgorithmWithEndUserOption
(
rAlgorithm
,
rLocale
,
rOption
);
}
catch
(
uno
::
RuntimeException
&
rRuntimeException
)
{
(
void
)
rRuntimeException
;
DBG_ERRORFILE
(
"CollatorWrapper: loadCollatorAlgorithmWithEndUserOption failed"
);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unusedcode.easy
Dosyayı görüntüle @
36703ca1
...
...
@@ -84,9 +84,6 @@ CharPosArray::Replace(int const&, unsigned short)
CharPosArray::Replace(int const*, unsigned short, unsigned short)
CharPosArray::_ForEach(unsigned short, unsigned short, unsigned char (*)(int const&, void*), void*)
CloneList::Count() const
CollatorWrapper::compareSubstring(rtl::OUString const&, int, int, rtl::OUString const&, int, int) const
CollatorWrapper::listCollatorOptions(rtl::OUString const&) const
CollatorWrapper::loadCollatorAlgorithmWithEndUserOption(rtl::OUString const&, com::sun::star::lang::Locale const&, com::sun::star::uno::Sequence<int> const&)
Color::IncreaseContrast(unsigned char)
CommandExtTextInputData::CommandExtTextInputData()
CommunicationLinkList::DeleteAndDestroy(unsigned short, unsigned short)
...
...
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