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
29a9160d
Kaydet (Commit)
29a9160d
authored
Tem 04, 2013
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
don't use Locale.Language
Change-Id: Ief663d886b08fc141dfb7563674504fe70f444b3
üst
9e5b9e36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
xmlfilterbase.cxx
oox/source/core/xmlfilterbase.cxx
+4
-3
No files found.
oox/source/core/xmlfilterbase.cxx
Dosyayı görüntüle @
29a9160d
...
@@ -31,6 +31,7 @@
...
@@ -31,6 +31,7 @@
#include <rtl/strbuf.hxx>
#include <rtl/strbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/ustrbuf.hxx>
#include <rtl/instance.hxx>
#include <rtl/instance.hxx>
#include <i18nlangtag/languagetag.hxx>
#include "oox/core/fastparser.hxx"
#include "oox/core/fastparser.hxx"
#include "oox/core/filterdetect.hxx"
#include "oox/core/filterdetect.hxx"
#include "oox/core/fragmenthandler.hxx"
#include "oox/core/fragmenthandler.hxx"
...
@@ -503,10 +504,10 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, Sequence< OUString > aIte
...
@@ -503,10 +504,10 @@ writeElement( FSHelperPtr pDoc, sal_Int32 nXmlElement, Sequence< OUString > aIte
}
}
static
void
static
void
writeElement
(
FSHelperPtr
pDoc
,
sal_Int32
nXmlElement
,
const
L
ocale
&
rLocale
)
writeElement
(
FSHelperPtr
pDoc
,
sal_Int32
nXmlElement
,
const
L
anguageTag
&
rLanguageTag
)
{
{
// TODO: what to do with .Country and .Variant
// TODO: what to do with .Country and .Variant
writeElement
(
pDoc
,
nXmlElement
,
rL
ocale
.
Language
);
writeElement
(
pDoc
,
nXmlElement
,
rL
anguageTag
.
getLanguage
()
);
}
}
static
void
static
void
...
@@ -542,7 +543,7 @@ writeCoreProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xPro
...
@@ -542,7 +543,7 @@ writeCoreProperties( XmlFilterBase& rSelf, Reference< XDocumentProperties > xPro
writeElement
(
pCoreProps
,
FSNS
(
XML_dc
,
XML_identifier
),
"ident"
);
writeElement
(
pCoreProps
,
FSNS
(
XML_dc
,
XML_identifier
),
"ident"
);
#endif
/* def OOXTODO */
#endif
/* def OOXTODO */
writeElement
(
pCoreProps
,
FSNS
(
XML_cp
,
XML_keywords
),
xProperties
->
getKeywords
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_cp
,
XML_keywords
),
xProperties
->
getKeywords
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_dc
,
XML_language
),
xProperties
->
getLanguage
(
)
);
writeElement
(
pCoreProps
,
FSNS
(
XML_dc
,
XML_language
),
LanguageTag
(
xProperties
->
getLanguage
()
)
);
writeElement
(
pCoreProps
,
FSNS
(
XML_cp
,
XML_lastModifiedBy
),
xProperties
->
getModifiedBy
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_cp
,
XML_lastModifiedBy
),
xProperties
->
getModifiedBy
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_cp
,
XML_lastPrinted
),
xProperties
->
getPrintDate
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_cp
,
XML_lastPrinted
),
xProperties
->
getPrintDate
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_dcterms
,
XML_modified
),
xProperties
->
getModificationDate
()
);
writeElement
(
pCoreProps
,
FSNS
(
XML_dcterms
,
XML_modified
),
xProperties
->
getModificationDate
()
);
...
...
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