diff options
Diffstat (limited to 'xmloff/source/text/XMLIndexTableSourceContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexTableSourceContext.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx index e4cdea920775..de9cd17a7f3f 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx @@ -126,20 +126,16 @@ void XMLIndexTableSourceContext::ProcessAttribute( void XMLIndexTableSourceContext::EndElement() { - Any aAny; - rIndexPropertySet->setPropertyValue(sCreateFromLabels, css::uno::Any(bUseCaption)); if (bSequenceOK) { - aAny <<= sSequence; - rIndexPropertySet->setPropertyValue(sLabelCategory, aAny); + rIndexPropertySet->setPropertyValue(sLabelCategory, css::uno::Any(sSequence)); } if (bDisplayFormatOK) { - aAny <<= nDisplayFormat; - rIndexPropertySet->setPropertyValue(sLabelDisplayType, aAny); + rIndexPropertySet->setPropertyValue(sLabelDisplayType, css::uno::Any(nDisplayFormat)); } XMLIndexSourceBaseContext::EndElement(); |