diff options
author | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-22 13:21:47 +0000 |
---|---|---|
committer | Gregorio Guidi <greg_g@gentoo.org> | 2005-06-22 13:21:47 +0000 |
commit | 61247c949c550bf9ed21515fd0308b4118ea032c (patch) | |
tree | 7c53e6ef5274c300b2b0ab0cdd99dda6d5dcdbdf /app-office/koffice/files | |
parent | Stable on sparc (diff) | |
download | gentoo-2-61247c949c550bf9ed21515fd0308b4118ea032c.tar.gz gentoo-2-61247c949c550bf9ed21515fd0308b4118ea032c.tar.bz2 gentoo-2-61247c949c550bf9ed21515fd0308b4118ea032c.zip |
Add patch to fix critical problem when saving from koshell.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-office/koffice/files')
-rw-r--r-- | app-office/koffice/files/digest-koffice-1.4.0-r1 | 1 | ||||
-rw-r--r-- | app-office/koffice/files/koffice-1.4.0-save.patch | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/app-office/koffice/files/digest-koffice-1.4.0-r1 b/app-office/koffice/files/digest-koffice-1.4.0-r1 new file mode 100644 index 000000000000..aada0edc41ee --- /dev/null +++ b/app-office/koffice/files/digest-koffice-1.4.0-r1 @@ -0,0 +1 @@ +MD5 3e6fd9f92024de68e5879c22d02a33c5 koffice-1.4.0.tar.bz2 19730186 diff --git a/app-office/koffice/files/koffice-1.4.0-save.patch b/app-office/koffice/files/koffice-1.4.0-save.patch new file mode 100644 index 000000000000..40772ef93525 --- /dev/null +++ b/app-office/koffice/files/koffice-1.4.0-save.patch @@ -0,0 +1,15 @@ +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 (); |