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
ba083e5c
Kaydet (Commit)
ba083e5c
authored
Eyl 03, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: use number() instead of valueOf()
Change-Id: I4a464a8e6448d1f9b1be820f11e643930682bcdb
üst
a463f74e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ImplHelper.cxx
dtrans/source/win32/misc/ImplHelper.cxx
+3
-3
No files found.
dtrans/source/win32/misc/ImplHelper.cxx
Dosyayı görüntüle @
ba083e5c
...
@@ -94,11 +94,11 @@ OUString SAL_CALL getWinCPFromLocaleId( LCID lcid, LCTYPE lctype )
...
@@ -94,11 +94,11 @@ OUString SAL_CALL getWinCPFromLocaleId( LCID lcid, LCTYPE lctype )
// set an default value
// set an default value
if
(
LOCALE_IDEFAULTCODEPAGE
==
lctype
)
if
(
LOCALE_IDEFAULTCODEPAGE
==
lctype
)
{
{
winCP
=
OUString
::
valueOf
(
static_cast
<
sal_Int32
>
(
GetOEMCP
(
)),
10
);
winCP
=
OUString
::
number
(
static_cast
<
sal_Int32
>
(
GetOEMCP
(
))
);
}
}
else
if
(
LOCALE_IDEFAULTANSICODEPAGE
==
lctype
)
else
if
(
LOCALE_IDEFAULTANSICODEPAGE
==
lctype
)
{
{
winCP
=
OUString
::
valueOf
(
static_cast
<
sal_Int32
>
(
GetACP
(
)),
10
);
winCP
=
OUString
::
number
(
static_cast
<
sal_Int32
>
(
GetACP
(
))
);
}
}
else
else
OSL_ASSERT
(
sal_False
);
OSL_ASSERT
(
sal_False
);
...
@@ -180,7 +180,7 @@ OUString SAL_CALL cptostr( sal_uInt32 codepage )
...
@@ -180,7 +180,7 @@ OUString SAL_CALL cptostr( sal_uInt32 codepage )
{
{
OSL_ASSERT
(
IsValidCodePage
(
codepage
)
);
OSL_ASSERT
(
IsValidCodePage
(
codepage
)
);
return
OUString
::
valueOf
(
static_cast
<
sal_Int64
>
(
codepage
),
10
);
return
OUString
::
number
(
static_cast
<
sal_Int64
>
(
codepage
)
);
}
}
//-------------------------------------------------------------------------
//-------------------------------------------------------------------------
...
...
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