diff options
Diffstat (limited to 'xmloff/source/text/XMLSectionSourceImportContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLSectionSourceImportContext.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/source/text/XMLSectionSourceImportContext.cxx b/xmloff/source/text/XMLSectionSourceImportContext.cxx index 91ab4bf94448..78d4847a3dbb 100644 --- a/xmloff/source/text/XMLSectionSourceImportContext.cxx +++ b/xmloff/source/text/XMLSectionSourceImportContext.cxx @@ -110,21 +110,18 @@ void XMLSectionSourceImportContext::StartElement( const OUString sFileLink("FileLink"); const OUString sLinkRegion("LinkRegion"); - Any aAny; if (!sURL.isEmpty() || !sFilterName.isEmpty()) { SectionFileLink aFileLink; aFileLink.FileURL = GetImport().GetAbsoluteReference( sURL ); aFileLink.FilterName = sFilterName; - aAny <<= aFileLink; - rSectionPropertySet->setPropertyValue(sFileLink, aAny); + rSectionPropertySet->setPropertyValue(sFileLink, Any(aFileLink)); } if (!sSectionName.isEmpty()) { - aAny <<= sSectionName; - rSectionPropertySet->setPropertyValue(sLinkRegion, aAny); + rSectionPropertySet->setPropertyValue(sLinkRegion, Any(sSectionName)); } } |