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

List:       kde-commits
Subject:    koffice/libs/kofficecore
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2006-08-24 16:12:38
Message-ID: 1156435958.596970.5619.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 576689 by sebsauer:

revert since dfaure's hint solved it. thx :)


 M  +2 -2      KoDocument.cpp  


--- trunk/koffice/libs/kofficecore/KoDocument.cpp #576688:576689
@@ -1301,8 +1301,8 @@
 {
     // Using the extension allows to avoid relying on the mime magic when opening
     KMimeType::Ptr mime = KMimeType::mimeType( nativeFormatMimeType() );
-    //Q_ASSERT( mime );
-    QString extension = mime ? mime->property( "X-KDE-NativeExtension" ).toString() : QString::null;
+    Q_ASSERT( mime );
+    QString extension = mime->property( "X-KDE-NativeExtension" ).toString();
     if ( path.isEmpty() )
     {
         // Never saved? Use a temp file in $HOME then
[prev in list] [next in list] [prev in thread] [next in thread] 

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