diff options
Diffstat (limited to 'oox/source/helper/storagebase.cxx')
-rw-r--r-- | oox/source/helper/storagebase.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/helper/storagebase.cxx b/oox/source/helper/storagebase.cxx index bb130f962f98..028daeb027fb 100644 --- a/oox/source/helper/storagebase.cxx +++ b/oox/source/helper/storagebase.cxx @@ -75,12 +75,12 @@ StorageBase::StorageBase( const Reference< XInputStream >& rxInStream, bool bBas OSL_ENSURE( mxInStream.is(), "StorageBase::StorageBase - missing base input stream" ); } -StorageBase::StorageBase( const Reference< XStream >& rxStream, bool bBaseStreamAccess ) : - mxStream( rxStream ), +StorageBase::StorageBase( const Reference< XStream >& rxOutStream, bool bBaseStreamAccess ) : + mxOutStream( rxOutStream ), mpParentStorage( 0 ), mbBaseStreamAccess( bBaseStreamAccess ) { - OSL_ENSURE( mxStream.is(), "StorageBase::StorageBase - missing base output stream" ); + OSL_ENSURE( mxOutStream.is(), "StorageBase::StorageBase - missing base output stream" ); } StorageBase::StorageBase( const StorageBase& rParentStorage, const OUString& rStorageName ) : @@ -183,7 +183,7 @@ Reference< XOutputStream > StorageBase::openOutputStream( const OUString& rStrea } else if( mbBaseStreamAccess ) { - xOutStream = mxStream->getOutputStream(); + xOutStream = mxOutStream->getOutputStream(); } return xOutStream; } |