[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/filters/kword/rtf/import
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-11-29 14:57:46
Message-ID: 20041129145746.3A1AE143BA () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Add support for URTF (again only if served as "text/rtf")
M +10 -0 rtfimport.cpp 1.124
--- koffice/filters/kword/rtf/import/rtfimport.cpp #1.123:1.124
@@ -377,4 +377,14 @@ KoFilter::ConversionStatus RTFImport::co
}
}
+ else if ( !qstrcmp( token.text, "urtf" ) )
+ {
+ // URTF seems to have either no version or having version 1
+ if ( token.value > 1 )
+ {
+ kdError(30515) << "Wrong URTF version (" << token.value << "); version 0 \
or 1 expected" << endl; + in.close();
+ return KoFilter::WrongFormat;
+ }
+ }
else
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic