summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx')
-rw-r--r--xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
index b2edb7c5175d..a2e16843d0b2 100644
--- a/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
+++ b/xmloff/source/text/XMLFootnoteConfigurationImportContext.cxx
@@ -407,8 +407,7 @@ void XMLFootnoteConfigurationImportContext::ProcessSettings(
if (!bIsEndnote)
{
- aAny.setValue(&bPosition, cppu::UnoType<bool>::get());
- rConfig->setPropertyValue(sPropertyPositionEndOfDoc, aAny);
+ rConfig->setPropertyValue(sPropertyPositionEndOfDoc, Any(bPosition));
aAny <<= nNumbering;
rConfig->setPropertyValue(sPropertyFootnoteCounting, aAny);