summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-20 21:28:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-20 21:28:31 +0900
commit56ddbe04dc445c012c568083202ce433c1da7026 (patch)
tree63e1ff606dbdd9479d573604d67eecd52bb7a179 /lib/kofficecore
parentc0332621bc998c9786f4841e86a62b7711fe4abf (diff)
downloadkoffice-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.cpp2
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() )