Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 44e9aa65 authored by Volker Krause's avatar Volker Krause

Remove unneeded const_cast

parent ce2635f5
......@@ -268,7 +268,7 @@ MessagePart::Ptr ObjectTreeParser::parseObjectTreeInternal(KMime::Content *node,
if (contents.isEmpty()) {
contents.append(node);
}
int i = contents.indexOf(const_cast<KMime::Content *>(node));
int i = contents.indexOf(node);
for (; i < contents.size(); ++i) {
node = contents.at(i);
if (mNodeHelper->nodeProcessed(node)) {
......
Markdown is supported
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