From 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Sun, 12 Oct 2008 10:05:28 +0000 Subject: Fixed compilation warnings. --- src/htmlTextPart.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/htmlTextPart.cpp') 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 text) } -const int htmlTextPart::getObjectCount() const +int htmlTextPart::getObjectCount() const { return m_objects.size(); } @@ -409,7 +409,7 @@ const ref htmlTextPart::findObject(const st } -const bool htmlTextPart::hasObject(const string& id_) const +bool htmlTextPart::hasObject(const string& id_) const { const string id = cleanId(id_); -- cgit v1.2.3