summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r--sw/source/filter/xml/xmlimp.cxx10
1 files changed, 2 insertions, 8 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx
index 4d276919abde..b7aa423c2c03 100644
--- a/sw/source/filter/xml/xmlimp.cxx
+++ b/sw/source/filter/xml/xmlimp.cxx
@@ -1292,18 +1292,12 @@ void SwXMLImport::SetConfigurationSettings(const Sequence < PropertyValue > & aC
if( !bUseOldNumbering )
{
- Any aAny;
- sal_Bool bOldNum = true;
- aAny.setValue(&bOldNum, ::getBooleanCppuType());
- xProps->setPropertyValue( "UseOldNumbering", aAny );
+ xProps->setPropertyValue( "UseOldNumbering", makeAny(true) );
}
if( !bOutlineLevelYieldsOutlineRule )
{
- Any aAny;
- sal_Bool bTmp = true;
- aAny.setValue(&bTmp, ::getBooleanCppuType());
- xProps->setPropertyValue( "OutlineLevelYieldsNumbering", aAny );
+ xProps->setPropertyValue( "OutlineLevelYieldsNumbering", makeAny(true) );
}
if( !bAddParaSpacingToTableCells )