[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       David Faure <faure () kde ! org>
Date:       2007-01-19 14:02:18
Message-ID: 1169215338.068438.9349.nullmailer () svn ! kde ! org
[Download RAW message or body]

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;  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic