diff options
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/text/txtparae.cxx | 11 | ||||
-rw-r--r-- | xmloff/source/text/txtstyle.cxx | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx index 62491265a464..c64d8662794a 100644 --- a/xmloff/source/text/txtparae.cxx +++ b/xmloff/source/text/txtparae.cxx @@ -531,7 +531,7 @@ void XMLTextParagraphExport::Add( sal_uInt16 nFamily, } } if( bAdd ) - pListAutoPool->Add( xNumRule ); + maListAutoPool.Add( xNumRule ); } } break; @@ -637,7 +637,7 @@ void XMLTextParagraphExport::Add( sal_uInt16 nFamily, } } if( bAdd ) - pListAutoPool->Add( xNumRule ); + maListAutoPool.Add( xNumRule ); } } @@ -1161,7 +1161,7 @@ XMLTextParagraphExport::XMLTextParagraphExport( pBoundFrameSets(new BoundFrameSets(GetExport().GetModel())), pFieldExport( nullptr ), pListElements( nullptr ), - pListAutoPool( new XMLTextListAutoStylePool( this->GetExport() ) ), + maListAutoPool( this->GetExport() ), pSectionExport( nullptr ), pIndexMarkExport( nullptr ), pRedlineExport( nullptr ), @@ -1320,7 +1320,6 @@ XMLTextParagraphExport::~XMLTextParagraphExport() delete pSectionExport; delete pFieldExport; delete pListElements; - delete pListAutoPool; #ifdef DBG_UTIL txtparae_bContainsIllegalCharacters = false; #endif @@ -1624,7 +1623,7 @@ bool XMLTextParagraphExport::collectTextAutoStylesOptimized( bool bIsProgress ) } } if( bAdd ) - pListAutoPool->Add( xNumRule ); + maListAutoPool.Add( xNumRule ); } } } @@ -3617,7 +3616,7 @@ void XMLTextParagraphExport::exportTextAutoStyles() GetExport().GetMM100UnitConverter(), GetExport().GetNamespaceMap() ); - pListAutoPool->exportXML(); + maListAutoPool.exportXML(); } void XMLTextParagraphExport::exportRuby( diff --git a/xmloff/source/text/txtstyle.cxx b/xmloff/source/text/txtstyle.cxx index c26c09b90266..0832876e57e8 100644 --- a/xmloff/source/text/txtstyle.cxx +++ b/xmloff/source/text/txtstyle.cxx @@ -105,7 +105,7 @@ void XMLTextParagraphExport::exportStyleAttributes( void XMLTextParagraphExport::exportNumStyles( bool bUsed ) { SvxXMLNumRuleExport aNumRuleExport( GetExport() ); - aNumRuleExport.exportStyles( bUsed, pListAutoPool, !IsBlockMode() ); + aNumRuleExport.exportStyles( bUsed, &maListAutoPool, !IsBlockMode() ); } void XMLTextParagraphExport::exportTextStyles( bool bUsed, bool bProg ) |