diff options
author | David Tardon <dtardon@redhat.com> | 2014-01-14 20:24:36 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-01-14 20:49:44 +0100 |
commit | 6b98b8dc620ae2276e1f3be1b935b6a0db3bc054 (patch) | |
tree | 9c7a31b4516e3d09ab96bdd36ce12c1ad86ab58f /writerperfect/source | |
parent | 9abd5653b1a2c1e3357208b28b1d4e2c3120cade (diff) |
the stream is already owned by the root storage
Change-Id: If4c548c1ed9275f525fe311853545af3f6313f41
Diffstat (limited to 'writerperfect/source')
-rw-r--r-- | writerperfect/source/common/WPXSvStream.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/writerperfect/source/common/WPXSvStream.cxx b/writerperfect/source/common/WPXSvStream.cxx index acadd9f8ddd3..48e81927212f 100644 --- a/writerperfect/source/common/WPXSvStream.cxx +++ b/writerperfect/source/common/WPXSvStream.cxx @@ -103,7 +103,6 @@ private: SotStorageStreamRef createStream(const rtl::OUString &rPath); public: - boost::scoped_ptr<SvStream> mpStream; SotStorageRefWrapper mxRootStorage; OLEStorageMap_t maStorageMap; ::std::vector< StreamData > maStreams; @@ -118,8 +117,7 @@ StreamData::StreamData(const rtl::OString &rName) } OLEStorageImpl::OLEStorageImpl() - : mpStream() - , mxRootStorage() + : mxRootStorage() , maStorageMap() , maStreams() , maNameMap() @@ -132,7 +130,6 @@ void OLEStorageImpl::initialize(SvStream *const pStream) if (!pStream) return; - mpStream.reset(pStream); mxRootStorage.ref = new SotStorage( pStream, sal_True ); traverse(mxRootStorage.ref, ""); |