diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 12:27:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 12:28:53 +0200 |
commit | 5e557a5f987b70f064e3381bda45bd882d651546 (patch) | |
tree | cfe628f32ba9442c0a9235077b4daed25152eb61 /lotuswordpro/source/filter/lwpfilter.cxx | |
parent | linguistic: std::auto_ptr -> std::unique_ptr (diff) | |
download | core-5e557a5f987b70f064e3381bda45bd882d651546.tar.gz core-5e557a5f987b70f064e3381bda45bd882d651546.zip |
lotuswordpro: std::auto_ptr -> std::unique_ptr
Change-Id: I205b84f6dcb996935bd59ac9927313c6a88066b4
Diffstat (limited to 'lotuswordpro/source/filter/lwpfilter.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx index e4d7606e5534..9e66d7b480e2 100644 --- a/lotuswordpro/source/filter/lwpfilter.cxx +++ b/lotuswordpro/source/filter/lwpfilter.cxx @@ -104,7 +104,7 @@ using namespace OpenStormBento; bool Decompress(SvStream *pCompressed, SvStream * & pOutDecompressed) { pCompressed->Seek(0); - std::auto_ptr<SvStream> aDecompressed(new SvMemoryStream(4096, 4096)); + std::unique_ptr<SvStream> aDecompressed(new SvMemoryStream(4096, 4096)); unsigned char buffer[512]; pCompressed->Read(buffer, 16); aDecompressed->Write(buffer, 16); |