[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: [PATCH] Make koconverter work
From: Nicolas Goutte <nicog () snafu ! de>
Date: 2001-10-27 22:23:23
[Download RAW message or body]
I have finally found out why koconverter does not work.
The attached patch is not commited to CVS, as I would prefer that someone who
knows more about the filter system looks at it.
Have a nice day/evening/night!
["patch.txt" (text/x-diff)]
Index: koconverter.cc
===================================================================
RCS file: /home/kde/koffice/tools/converter/koconverter.cc,v
retrieving revision 1.2
diff -u -r1.2 koconverter.cc
--- koconverter.cc 2001/09/14 21:42:41 1.2
+++ koconverter.cc 2001/10/27 22:17:47
@@ -40,10 +40,11 @@
bool convert( const KURL & uIn, const QString & inputFormat, const KURL & uOut, \
const QString & outputFormat ) {
QString constr = "'";
- constr += inputFormat;
- constr += "' in Import and '";
constr += outputFormat;
- constr += "' in Export and Implemented=='file'"; // can only do file conversions \
here, no kodoc + constr += "' in [X-KDE-Export] and '";
+ constr += inputFormat;
+ constr += "' in [X-KDE-Import]";
+ constr += " and Implemented=='file'"; // can only do file conversions here, no \
kodoc
QValueList<KoFilterEntry> vec = KoFilterEntry::query( constr );
if ( vec.isEmpty() )
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic