From dc47b2e5136f0f767273dc5fdba5c822575e194b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 May 2015 16:33:19 +0200 Subject: Unwind SotStorageRef typedef Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1 --- sfx2/source/appl/xpackcreator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sfx2/source/appl/xpackcreator.cxx') diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx index 124641dec40c..f447273a90ed 100644 --- a/sfx2/source/appl/xpackcreator.cxx +++ b/sfx2/source/appl/xpackcreator.cxx @@ -79,12 +79,12 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const OUString& aFolde StreamMode::READ, false, true ); - SotStorageRef aStorage = new SotStorage( pUCBStorage ); + tools::SvRef aStorage = new SotStorage( pUCBStorage ); if ( !aTempURL.isEmpty() ) { pTempStream = new SvFileStream( aTempURL, STREAM_STD_READWRITE ); - SotStorageRef aTargetStorage = new SotStorage( true, *pTempStream ); + tools::SvRef aTargetStorage = new SotStorage( true, *pTempStream ); aStorage->CopyTo( aTargetStorage ); aTargetStorage->Commit(); -- cgit