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
2c5548a6
Kaydet (Commit)
2c5548a6
authored
Tem 12, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
write bcp47 to dc:language
Change-Id: Ia62ef327cd07070c2e48f4140c58f3309581b562
üst
9f7eab01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
xmlmetae.cxx
xmloff/source/meta/xmlmetae.cxx
+2
-8
No files found.
xmloff/source/meta/xmlmetae.cxx
Dosyayı görüntüle @
2c5548a6
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
*/
*/
#include <tools/debug.hxx>
#include <tools/debug.hxx>
#include <i18nlangtag/
mslangid
.hxx>
#include <i18nlangtag/
languagetag
.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <xmloff/xmlmetae.hxx>
#include <xmloff/xmlmetae.hxx>
...
@@ -148,14 +148,8 @@ void SvXMLMetaExport::_MExport()
...
@@ -148,14 +148,8 @@ void SvXMLMetaExport::_MExport()
// document language
// document language
{
{
const
lang
::
Locale
aLocale
=
mxDocProps
->
getLanguage
();
OUString
sValue
=
LanguageTag
(
mxDocProps
->
getLanguage
()).
getBcp47
(
false
);
OUString
sValue
=
aLocale
.
Language
;
if
(
!
sValue
.
isEmpty
())
{
if
(
!
sValue
.
isEmpty
())
{
if
(
!
aLocale
.
Country
.
isEmpty
()
)
{
sValue
+=
OUString
::
valueOf
((
sal_Unicode
)
'-'
);
sValue
+=
aLocale
.
Country
;
}
SvXMLElementExport
aElem
(
mrExport
,
XML_NAMESPACE_DC
,
XML_LANGUAGE
,
SvXMLElementExport
aElem
(
mrExport
,
XML_NAMESPACE_DC
,
XML_LANGUAGE
,
sal_True
,
sal_False
);
sal_True
,
sal_False
);
mrExport
.
Characters
(
sValue
);
mrExport
.
Characters
(
sValue
);
...
...
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