[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/lib/kofficecore
From: David Faure <faure () kde ! org>
Date: 2005-03-24 13:29:26
Message-ID: 20050324132926.011EC5B6 () office ! kde ! org
[Download RAW message or body]
CVS commit by faure:
Don't autosave to OASIS format for apps which don't have an OASIS mimetype.
M +1 -1 koDocument.cc 1.347
--- koffice/lib/kofficecore/koDocument.cc #1.346:1.347
@@ -925,5 +925,5 @@ bool KoDocument::saveNativeFormat( const
// OLD: QCString mimeType = oasis ? nativeOasisMimeType() : nativeFormatMimeType();
QCString mimeType = d->outputMimeType;
- bool oasis = mimeType == nativeOasisMimeType();
+ bool oasis = !mimeType.isEmpty() && mimeType == nativeOasisMimeType();
// TODO: use std::auto_ptr or create store on stack [needs API fixing],
// to remove all the 'delete store' in all the branches
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic