diff options
Diffstat (limited to 'xmloff/source/core/SettingsExportHelper.cxx')
-rw-r--r-- | xmloff/source/core/SettingsExportHelper.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/core/SettingsExportHelper.cxx b/xmloff/source/core/SettingsExportHelper.cxx index 3c4edf5047c2..5bba8272628c 100644 --- a/xmloff/source/core/SettingsExportHelper.cxx +++ b/xmloff/source/core/SettingsExportHelper.cxx @@ -402,7 +402,6 @@ void XMLSettingsExportHelper::exportIndexAccess( DBG_ASSERT(!rName.isEmpty(), "no name"); DBG_ASSERT(rIndexed->getElementType().equals(cppu::UnoType<uno::Sequence<beans::PropertyValue>>::get() ), "wrong IndexAccess" ); - OUString sEmpty; if (rIndexed->hasElements()) { m_rContext.AddAttribute( XML_NAME, rName ); @@ -410,7 +409,7 @@ void XMLSettingsExportHelper::exportIndexAccess( sal_Int32 nCount = rIndexed->getCount(); for (sal_Int32 i = 0; i < nCount; i++) { - exportMapEntry(rIndexed->getByIndex(i), sEmpty, false); + exportMapEntry(rIndexed->getByIndex(i), "", false); } m_rContext.EndElement( true ); } |