[Libreoffice-commits] core.git: xmloff/source
Eike Rathke
erack at redhat.com
Thu Jul 4 13:50:11 PDT 2013
xmloff/source/core/DocumentSettingsContext.cxx | 5 +++++
xmloff/source/core/SettingsExportHelper.cxx | 4 ++++
2 files changed, 9 insertions(+)
New commits:
commit b832a7a78abd688ce465aa881b3b9e777d2ce8be
Author: Eike Rathke <erack at redhat.com>
Date: Thu Jul 4 22:40:39 2013 +0200
FIXME-BCP47
Change-Id: Ic5f227e86a85c297223d1b496cfc8c0f4a9488b7
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index f963983..f0a40fe 100644
--- a/xmloff/source/core/DocumentSettingsContext.cxx
+++ b/xmloff/source/core/DocumentSettingsContext.cxx
@@ -786,6 +786,11 @@ void XMLConfigItemMapIndexedContext::EndElement()
{
if ((xIndex->getByIndex( i ) >>= aProps) && (aProps.getLength() == XML_FORBIDDEN_CHARACTER_MAX ) )
{
+ /* FIXME-BCP47: this stupid and counterpart in
+ * xmloff/source/core/SettingsExportHelper.cxx
+ * XMLSettingsExportHelper::exportForbiddenCharacters()
+ * */
+
beans::PropertyValue *pForChar = aProps.getArray();
i18n::ForbiddenCharacters aForbid;
lang::Locale aLocale;
diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx
index b8d2a57..1f0fbf0 100644
--- a/xmloff/source/core/SettingsExportHelper.cxx
+++ b/xmloff/source/core/SettingsExportHelper.cxx
@@ -437,6 +437,10 @@ void XMLSettingsExportHelper::exportForbiddenCharacters(
const sal_Int32 nCount = aLocales.getLength();
+ /* FIXME-BCP47: this stupid and counterpart in
+ * xmloff/source/core/DocumentSettingsContext.cxx
+ * XMLConfigItemMapIndexedContext::EndElement() */
+
const OUString sLanguage ( "Language" );
const OUString sCountry ( "Country" );
const OUString sVariant ( "Variant" );
More information about the Libreoffice-commits
mailing list