diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-20 21:28:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-20 21:28:31 +0900 |
commit | 56ddbe04dc445c012c568083202ce433c1da7026 (patch) | |
tree | 63e1ff606dbdd9479d573604d67eecd52bb7a179 /lib/kofficecore | |
parent | c0332621bc998c9786f4841e86a62b7711fe4abf (diff) | |
download | koffice-56ddbe04dc445c012c568083202ce433c1da7026.tar.gz koffice-56ddbe04dc445c012c568083202ce433c1da7026.zip |
Replace auto_ptr
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kofficecore')
-rw-r--r-- | lib/kofficecore/KoDocument.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp index 85397acc..147b2ed1 100644 --- a/lib/kofficecore/KoDocument.cpp +++ b/lib/kofficecore/KoDocument.cpp @@ -992,7 +992,7 @@ bool KoDocument::saveNativeFormat( const TQString & file ) TQCString mimeType = d->outputMimeType; TQCString nativeOasisMime = nativeOasisMimeType(); bool oasis = !mimeType.isEmpty() && ( mimeType == nativeOasisMime || mimeType == nativeOasisMime + "-template" ); - // TODO: use std::auto_ptr or create store on stack [needs API fixing], + // TODO: use std::unique_ptr or create store on stack [needs API fixing], // to remove all the 'delete store' in all the branches KoStore* store = KoStore::createStore( file, KoStore::Write, mimeType, backend ); if ( store->bad() ) |