Kaydet (Commit) 61d048b7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

package: std::auto_ptr -> std::unique_ptr

Change-Id: Iac189fef77c930e35cbd20452027662127047e01
üst f94fffaf
...@@ -336,7 +336,7 @@ bool ZipPackageFolder::saveChild( const OUString &rShortName, const ContentInfo ...@@ -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 // if pTempEntry is necessary, it will be released and passed to the ZipOutputStream
// and be deleted in the ZipOutputStream destructor // and be deleted in the ZipOutputStream destructor
auto_ptr < ZipEntry > pAutoTempEntry ( new ZipEntry ); unique_ptr < ZipEntry > pAutoTempEntry ( new ZipEntry );
ZipEntry* pTempEntry = pAutoTempEntry.get(); ZipEntry* pTempEntry = pAutoTempEntry.get();
// In case the entry we are reading is also the entry we are writing, we will // In case the entry we are reading is also the entry we are writing, we will
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment