diff options
Diffstat (limited to 'src/htmlTextPart.cpp')
-rw-r--r-- | src/htmlTextPart.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/htmlTextPart.cpp b/src/htmlTextPart.cpp index 962ec5f7..a2875737 100644 --- a/src/htmlTextPart.cpp +++ b/src/htmlTextPart.cpp @@ -54,7 +54,7 @@ const mediaType htmlTextPart::getType() const } -const int htmlTextPart::getPartCount() const +int htmlTextPart::getPartCount() const { return (m_plainText->isEmpty() ? 1 : 2); } @@ -382,7 +382,7 @@ void htmlTextPart::setText(ref <contentHandler> text) } -const int htmlTextPart::getObjectCount() const +int htmlTextPart::getObjectCount() const { return m_objects.size(); } @@ -409,7 +409,7 @@ const ref <const htmlTextPart::embeddedObject> htmlTextPart::findObject(const st } -const bool htmlTextPart::hasObject(const string& id_) const +bool htmlTextPart::hasObject(const string& id_) const { const string id = cleanId(id_); |