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
a6104092
Kaydet (Commit)
a6104092
authored
Eyl 11, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid name clash with generated C++ class corresponding to UNOIDL service
Change-Id: Ie76cab45f5fd609457b11cb3b9732cba2da3b023
üst
91ba527a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
ordinalsuffix.hxx
i18npool/inc/ordinalsuffix.hxx
+3
-3
ordinalsuffix.cxx
i18npool/source/ordinalsuffix/ordinalsuffix.cxx
+7
-7
No files found.
i18npool/inc/ordinalsuffix.hxx
Dosyayı görüntüle @
a6104092
...
...
@@ -28,15 +28,15 @@
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
i18n
{
class
OrdinalSuffix
:
public
cppu
::
WeakImplHelper2
class
OrdinalSuffix
Service
:
public
cppu
::
WeakImplHelper2
<
XOrdinalSuffix
,
com
::
sun
::
star
::
lang
::
XServiceInfo
>
{
public
:
OrdinalSuffix
();
virtual
~
OrdinalSuffix
();
OrdinalSuffix
Service
();
virtual
~
OrdinalSuffix
Service
();
// XOrdinalSuffix
virtual
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getOrdinalSuffix
(
sal_Int32
nNumber
,
const
com
::
sun
::
star
::
lang
::
Locale
&
rLocale
)
throw
(
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
i18npool/source/ordinalsuffix/ordinalsuffix.cxx
Dosyayı görüntüle @
a6104092
...
...
@@ -35,11 +35,11 @@ using namespace ::com::sun::star;
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
i18n
{
OrdinalSuffix
::
OrdinalSuffix
()
OrdinalSuffix
Service
::
OrdinalSuffixService
()
{
}
OrdinalSuffix
::~
OrdinalSuffix
()
OrdinalSuffix
Service
::~
OrdinalSuffixService
()
{
}
...
...
@@ -65,7 +65,7 @@ namespace
* For this method to properly return the ordinal suffix for other locales
* than english ones, ICU 4.2+ has to be used.
*/
uno
::
Sequence
<
OUString
>
SAL_CALL
OrdinalSuffix
::
getOrdinalSuffix
(
sal_Int32
nNumber
,
uno
::
Sequence
<
OUString
>
SAL_CALL
OrdinalSuffix
Service
::
getOrdinalSuffix
(
sal_Int32
nNumber
,
const
lang
::
Locale
&
rLocale
)
throw
(
RuntimeException
,
std
::
exception
)
{
uno
::
Sequence
<
OUString
>
retValue
;
...
...
@@ -135,17 +135,17 @@ uno::Sequence< OUString > SAL_CALL OrdinalSuffix::getOrdinalSuffix( sal_Int32 nN
const
sal_Char
cOrdinalSuffix
[]
=
"com.sun.star.i18n.OrdinalSuffix"
;
OUString
SAL_CALL
OrdinalSuffix
::
getImplementationName
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
OUString
SAL_CALL
OrdinalSuffix
Service
::
getImplementationName
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
return
OUString
::
createFromAscii
(
cOrdinalSuffix
);
}
sal_Bool
SAL_CALL
OrdinalSuffix
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
sal_Bool
SAL_CALL
OrdinalSuffix
Service
::
supportsService
(
const
OUString
&
rServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
{
return
cppu
::
supportsService
(
this
,
rServiceName
);
}
Sequence
<
OUString
>
SAL_CALL
OrdinalSuffix
::
getSupportedServiceNames
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
Sequence
<
OUString
>
SAL_CALL
OrdinalSuffix
Service
::
getSupportedServiceNames
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
::
createFromAscii
(
cOrdinalSuffix
);
...
...
@@ -159,7 +159,7 @@ com_sun_star_i18n_OrdinalSuffix_get_implementation(
css
::
uno
::
XComponentContext
*
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
return
cppu
::
acquire
(
new
css
::
i18n
::
OrdinalSuffix
());
return
cppu
::
acquire
(
new
css
::
i18n
::
OrdinalSuffix
Service
());
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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