summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-07-04 22:40:39 +0200
committerEike Rathke <erack@redhat.com>2013-07-04 22:49:49 +0200
commitb832a7a78abd688ce465aa881b3b9e777d2ce8be (patch)
treedeff785e86c6d9e0614c350d8e7fb57dac8fa8c4 /xmloff
parent4fda8fce3b59dc2fdba00c6a541dafb66f24d741 (diff)
FIXME-BCP47
Change-Id: Ic5f227e86a85c297223d1b496cfc8c0f4a9488b7
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/DocumentSettingsContext.cxx5
-rw-r--r--xmloff/source/core/SettingsExportHelper.cxx4
2 files changed, 9 insertions, 0 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx
index f963983e6041..f0a40fe87e06 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 b8d2a571c442..1f0fbf0a1045 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" );