summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpfilter.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-30 12:27:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-30 12:28:53 +0200
commit5e557a5f987b70f064e3381bda45bd882d651546 (patch)
treecfe628f32ba9442c0a9235077b4daed25152eb61 /lotuswordpro/source/filter/lwpfilter.cxx
parentlinguistic: std::auto_ptr -> std::unique_ptr (diff)
downloadcore-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.cxx2
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);