diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 12:28:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-30 12:28:54 +0200 |
commit | 61d048b71bd76eec6a4dbe861646e184b55345ac (patch) | |
tree | 2d794bf98a6f8f814247136145ea8be812d2280a /package | |
parent | mysqlc: std::auto_ptr -> std::unique_ptr (diff) | |
download | core-61d048b71bd76eec6a4dbe861646e184b55345ac.tar.gz core-61d048b71bd76eec6a4dbe861646e184b55345ac.zip |
package: std::auto_ptr -> std::unique_ptr
Change-Id: Iac189fef77c930e35cbd20452027662127047e01
Diffstat (limited to 'package')
-rw-r--r-- | package/source/zippackage/ZipPackageFolder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/zippackage/ZipPackageFolder.cxx b/package/source/zippackage/ZipPackageFolder.cxx index 8d994c6ede75..ce01b92d4ce5 100644 --- a/package/source/zippackage/ZipPackageFolder.cxx +++ b/package/source/zippackage/ZipPackageFolder.cxx @@ -336,7 +336,7 @@ bool ZipPackageFolder::saveChild( const OUString &rShortName, const ContentInfo { // if pTempEntry is necessary, it will be released and passed to the ZipOutputStream // and be deleted in the ZipOutputStream destructor - auto_ptr < ZipEntry > pAutoTempEntry ( new ZipEntry ); + unique_ptr < ZipEntry > pAutoTempEntry ( new ZipEntry ); ZipEntry* pTempEntry = pAutoTempEntry.get(); // In case the entry we are reading is also the entry we are writing, we will |