Commit a99e6402 authored by Sandro Knauß's avatar Sandro Knauß

constify

parent 9bb1dd91
......@@ -162,7 +162,7 @@ void CryptoBlock::internalExit()
entered = false;
}
EncapsulatedRFC822Block::EncapsulatedRFC822Block(MimeTreeParser::HtmlWriter *writer, MimeTreeParser::NodeHelper *nodeHelper, KMime::Content *node)
EncapsulatedRFC822Block::EncapsulatedRFC822Block(MimeTreeParser::HtmlWriter *writer, const MimeTreeParser::NodeHelper *nodeHelper, KMime::Content *node)
: mWriter(writer)
, mNodeHelper(nodeHelper)
, mNode(node)
......
......@@ -71,7 +71,7 @@ protected:
class EncapsulatedRFC822Block : public HTMLBlock
{
public:
EncapsulatedRFC822Block(MimeTreeParser::HtmlWriter *writer, MimeTreeParser::NodeHelper *nodeHelper, KMime::Content *node);
EncapsulatedRFC822Block(MimeTreeParser::HtmlWriter *writer, const MimeTreeParser::NodeHelper *nodeHelper, KMime::Content *node);
virtual ~EncapsulatedRFC822Block();
private:
......@@ -79,7 +79,7 @@ private:
void internalExit();
HtmlWriter *mWriter;
NodeHelper *mNodeHelper;
const NodeHelper *mNodeHelper;
KMime::Content *mNode;
};
......
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