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
c9023129
Kaydet (Commit)
c9023129
authored
Kas 17, 2012
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use LanguageTag
Change-Id: Ie3079b1acde5cc98e0cffb37e3ff696aac8fe5f2
üst
08bece4a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
FormattedField.cxx
forms/source/component/FormattedField.cxx
+4
-4
No files found.
forms/source/component/FormattedField.cxx
Dosyayı görüntüle @
c9023129
...
...
@@ -43,7 +43,7 @@
#include <vcl/svapp.hxx>
#include <tools/debug.hxx>
#include <tools/wintypes.hxx>
#include <i18npool/
mslangid
.hxx>
#include <i18npool/
languagetag
.hxx>
#include <rtl/textenc.h>
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/util/NumberFormat.hpp>
...
...
@@ -150,7 +150,7 @@ Reference< XNumberFormatsSupplier > StandardFormatsSupplier::get( const Referenc
// get the Office's locale
const
Locale
&
rSysLocale
=
SvtSysLocale
().
GetLocaleData
().
getLocale
();
// translate
eSysLanguage
=
MsLangId
::
convertLocaleToLanguage
(
rSysLocale
);
eSysLanguage
=
LanguageTag
(
rSysLocale
).
getLanguageType
(
false
);
}
StandardFormatsSupplier
*
pSupplier
=
new
StandardFormatsSupplier
(
_rxORB
,
eSysLanguage
);
...
...
@@ -856,7 +856,7 @@ void OFormattedModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
if
(
isA
(
aLocale
,
static_cast
<
Locale
*>
(
NULL
)))
{
Locale
*
pLocale
=
(
Locale
*
)
aLocale
.
getValue
();
eFormatLanguage
=
MsLangId
::
convertLocaleToLanguage
(
*
pLocale
);
eFormatLanguage
=
LanguageTag
(
*
pLocale
).
getLanguageType
(
false
);
}
}
...
...
@@ -940,7 +940,7 @@ void OFormattedModel::read(const Reference<XObjectInputStream>& _rxInStream) thr
if
(
xFormats
.
is
())
{
Locale
aDescriptionLanguage
(
MsLangId
::
convertLanguageToLocale
(
eDescriptionLanguage
));
Locale
aDescriptionLanguage
(
LanguageTag
(
eDescriptionLanguage
).
getLocale
(
));
nKey
=
xFormats
->
queryKey
(
sFormatDescription
,
aDescriptionLanguage
,
sal_False
);
if
(
nKey
==
(
sal_Int32
)
-
1
)
...
...
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