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;