From kde-commits Fri Jan 19 14:02:18 2007 From: David Faure Date: Fri, 19 Jan 2007 14:02:18 +0000 To: kde-commits Subject: koffice/libs/kofficecore Message-Id: <1169215338.068438.9349.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=116921539415804 SVN commit 625210 by dfaure: forwardport 625205: Fix loading of oasis uncompressed xml M +2 -2 KoDocument.cpp --- trunk/koffice/libs/kofficecore/KoDocument.cpp #625209:625210 @@ -1500,11 +1500,11 @@ } // Special case for flat XML files (e.g. using directory store) - if ( u.fileName() == "maindoc.xml" || typeName == "inode/directory" ) + if ( u.fileName() == "maindoc.xml" || u.fileName() == "content.xml" || typeName == "inode/directory" ) { typeName = _native_format; // Hmm, what if it's from another app? ### Check mimetype d->m_specialOutputFlag = SaveAsDirectoryStore; - kDebug(30003) << "KoDocument::openFile loading maindoc.xml, using directory store for " << m_file << endl; + kDebug(30003) << "KoDocument::openFile loading " << u.fileName() << ", using directory store for " << m_file << "; typeName=" << typeName << endl; } kDebug(30003) << "KoDocument::openFile " << m_file << " type:" << typeName << endl;