diff options
Diffstat (limited to 'xmloff/source/text/XMLIndexUserSourceContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexUserSourceContext.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLIndexUserSourceContext.cxx b/xmloff/source/text/XMLIndexUserSourceContext.cxx index e1f95d4c1ac0..9120e30000af 100644 --- a/xmloff/source/text/XMLIndexUserSourceContext.cxx +++ b/xmloff/source/text/XMLIndexUserSourceContext.cxx @@ -151,8 +151,6 @@ void XMLIndexUserSourceContext::ProcessAttribute( void XMLIndexUserSourceContext::EndElement() { - Any aAny; - rIndexPropertySet->setPropertyValue(sCreateFromEmbeddedObjects, css::uno::Any(bUseObjects)); rIndexPropertySet->setPropertyValue(sCreateFromGraphicObjects, css::uno::Any(bUseGraphic)); rIndexPropertySet->setPropertyValue(sUseLevelFromSource, css::uno::Any(bUseLevelFromSource)); @@ -163,8 +161,7 @@ void XMLIndexUserSourceContext::EndElement() if( !sIndexName.isEmpty() ) { - aAny <<= sIndexName; - rIndexPropertySet->setPropertyValue(sUserIndexName, aAny); + rIndexPropertySet->setPropertyValue(sUserIndexName, css::uno::Any(sIndexName)); } XMLIndexSourceBaseContext::EndElement(); |