diff options
Diffstat (limited to '')
-rw-r--r-- | src/addressList.cpp | 2 | ||||
-rw-r--r-- | src/body.cpp | 2 | ||||
-rw-r--r-- | src/header.cpp | 2 | ||||
-rw-r--r-- | src/mailboxGroup.cpp | 2 | ||||
-rw-r--r-- | src/mailboxList.cpp | 2 | ||||
-rw-r--r-- | src/parameterizedHeaderField.cpp | 2 | ||||
-rw-r--r-- | src/text.cpp | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/addressList.cpp b/src/addressList.cpp index 33708ceb..85178961 100644 --- a/src/addressList.cpp +++ b/src/addressList.cpp @@ -220,7 +220,7 @@ address* addressList::getAddressAt(const int pos) } -const address* const addressList::getAddressAt(const int pos) const +const address* addressList::getAddressAt(const int pos) const { return (m_list[pos]); } diff --git a/src/body.cpp b/src/body.cpp index becb49cc..85e1f4f7 100644 --- a/src/body.cpp +++ b/src/body.cpp @@ -678,7 +678,7 @@ bodyPart* body::getPartAt(const int pos) } -const bodyPart* const body::getPartAt(const int pos) const +const bodyPart* body::getPartAt(const int pos) const { return (m_parts[pos]); } diff --git a/src/header.cpp b/src/header.cpp index 8209b21b..ddbf183e 100644 --- a/src/header.cpp +++ b/src/header.cpp @@ -482,7 +482,7 @@ headerField* header::getFieldAt(const int pos) } -const headerField* const header::getFieldAt(const int pos) const +const headerField* header::getFieldAt(const int pos) const { return (m_fields[pos]); } diff --git a/src/mailboxGroup.cpp b/src/mailboxGroup.cpp index 71c5ecf0..b8b5fdec 100644 --- a/src/mailboxGroup.cpp +++ b/src/mailboxGroup.cpp @@ -322,7 +322,7 @@ mailbox* mailboxGroup::getMailboxAt(const int pos) } -const mailbox* const mailboxGroup::getMailboxAt(const int pos) const +const mailbox* mailboxGroup::getMailboxAt(const int pos) const { return (m_list[pos]); } diff --git a/src/mailboxList.cpp b/src/mailboxList.cpp index b05d6097..55f7532a 100644 --- a/src/mailboxList.cpp +++ b/src/mailboxList.cpp @@ -123,7 +123,7 @@ mailbox* mailboxList::getMailboxAt(const int pos) } -const mailbox* const mailboxList::getMailboxAt(const int pos) const +const mailbox* mailboxList::getMailboxAt(const int pos) const { return static_cast <const mailbox*>(addressList::getAddressAt(pos)); } diff --git a/src/parameterizedHeaderField.cpp b/src/parameterizedHeaderField.cpp index 9494103c..348eca21 100644 --- a/src/parameterizedHeaderField.cpp +++ b/src/parameterizedHeaderField.cpp @@ -406,7 +406,7 @@ parameter* parameterizedHeaderField::getParameterAt(const int pos) } -const parameter* const parameterizedHeaderField::getParameterAt(const int pos) const +const parameter* parameterizedHeaderField::getParameterAt(const int pos) const { return (m_params[pos]); } diff --git a/src/text.cpp b/src/text.cpp index 4b520a43..5995daf1 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -214,7 +214,7 @@ word* text::getWordAt(const int pos) } -const word* const text::getWordAt(const int pos) const +const word* text::getWordAt(const int pos) const { return (m_words[pos]); } |