diff -Nur koffice-1.4.0.orig/lib/kofficecore/koDocument.cc koffice-1.4.0/lib/kofficecore/koDocument.cc --- koffice-1.4.0.orig/lib/kofficecore/koDocument.cc 2005-06-15 15:39:33.000000000 +0200 +++ koffice-1.4.0/lib/kofficecore/koDocument.cc 2005-06-22 14:58:03.000000000 +0200 @@ -354,11 +354,6 @@ bool KoDocument::saveFile() { kdDebug(30003) << "KoDocument::saveFile() doc='" << url().url() <<"'"<< endl; - if ( !kapp->inherits( "KoApplication" ) ) - { - d->lastErrorMessage = i18n( "Internal error: not a KOffice application, saving not allowed." ); - return false; - } // Save it to be able to restore it after a failed save const bool wasModified = isModified ();