summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/meta/xmlversion.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/meta/xmlversion.cxx b/xmloff/source/meta/xmlversion.cxx
index 068449ec8e39..fa316026add5 100644
--- a/xmloff/source/meta/xmlversion.cxx
+++ b/xmloff/source/meta/xmlversion.cxx
@@ -351,9 +351,9 @@ void SAL_CALL XMLVersionListPersistence::store( const uno::Reference< embed::XSt
Reference< XDocumentHandler > xHandler( xWriter, uno::UNO_QUERY );
- XMLVersionListExport aExp( xContext, rVersions, sVerName, xHandler );
+ Reference< XMLVersionListExport > xExp( new XMLVersionListExport( xContext, rVersions, sVerName, xHandler ) );
- aExp.exportDoc( ::xmloff::token::XML_VERSION );
+ xExp->exportDoc( ::xmloff::token::XML_VERSION );
xVerStream = uno::Reference< io::XStream >(); // use refcounting for now to dispose
}