Skip to content
Snippets Groups Projects
Commit 9d452207 authored by Tomas Mecir's avatar Tomas Mecir
Browse files

fix csv import

BUG: 344718
parent 6aa20c28
No related branches found
No related tags found
No related merge requests found
......@@ -82,10 +82,10 @@ KoFilter::ConversionStatus CSVFilter::convert(const QByteArray& from, const QByt
Doc *ksdoc = static_cast<Doc *>(document); // type checked above
if (ksdoc->mimeType() != "application/vnd.oasis.opendocument.spreadsheet") {
kWarning(30501) << "Invalid document mimetype " << ksdoc->mimeType();
return KoFilter::NotImplemented;
}
// if (ksdoc->mimeType() != "application/vnd.oasis.opendocument.spreadsheet") {
// kWarning(30501) << "Invalid document mimetype " << ksdoc->mimeType();
// return KoFilter::NotImplemented;
// }
QFile in(file);
if (!in.open(QIODevice::ReadOnly)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment