diff options
author | Vincent Richard <[email protected]> | 2008-10-12 10:05:28 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2008-10-12 10:05:28 +0000 |
commit | 3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d (patch) | |
tree | 1968196db0d6ae27fd70d0732ff3defed0efb61f /src/htmlTextPart.cpp | |
parent | Encode '?' characters to avoid breaking QP encoding (Zarafa). (diff) | |
download | vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.tar.gz vmime-3f4226eaac5d0d30be1f4ca5d5cf010c98a7ce7d.zip |
Fixed compilation warnings.
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_); |