From 56ddbe04dc445c012c568083202ce433c1da7026 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 20 Jan 2024 21:28:31 +0900 Subject: Replace auto_ptr Signed-off-by: Michele Calgaro --- lib/kofficecore/KoDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/kofficecore') 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() ) -- cgit v1.2.1