Commit 9d046e22 authored by Sandro Knauß's avatar Sandro Knauß 🐝
Browse files

remove unused method to store parts in files

parent b6e09bc6
......@@ -1234,23 +1234,6 @@ bool ObjectTreeParser::looksLikeParaBreak(const QString &s, unsigned int newLine
return prevLineLength + wordLength + 1 < WRAP_COL;
void ObjectTreeParser::dumpToFile(const char *filename, const char *start,
size_t len)
QFile f(QString::fromAscii(filename));
if ( {
if (start) {
QDataStream ds(&f);
ds.writeRawData(start, len);
f.close(); // If data is 0 we just create a zero length file.
#endif // !NDEBUG
KMime::Content *ObjectTreeParser::findType(KMime::Content *content, const QByteArray &mimeType, bool deep, bool wide)
if ((!content->contentType()->isEmpty())
......@@ -394,12 +394,6 @@ private:
well-defined) */
bool looksLikeParaBreak(const QString &s, unsigned int newLinePos) const;
void dumpToFile(const char *filename, const char *dataStart, size_t dataLen);
void dumpToFile(const char *, const char *, size_t) {}
void copyContentFrom(const ObjectTreeParser *other);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment