diff options
author | Vincent Richard <[email protected]> | 2006-07-14 08:28:35 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2006-07-14 08:28:35 +0000 |
commit | 27840a441d2cc1c99eabe08a1d0a9f561540ce43 (patch) | |
tree | c4313edc758374995c26f26298a05414ea7dd5e6 /src/parsedMessageAttachment.cpp | |
parent | Fixed bugs in MHTML code + unit tests. (diff) | |
download | vmime-27840a441d2cc1c99eabe08a1d0a9f561540ce43.tar.gz vmime-27840a441d2cc1c99eabe08a1d0a9f561540ce43.zip |
Replaced & with ref<> + clean up.
Diffstat (limited to 'src/parsedMessageAttachment.cpp')
-rw-r--r-- | src/parsedMessageAttachment.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parsedMessageAttachment.cpp b/src/parsedMessageAttachment.cpp index 349f6881..b60715bb 100644 --- a/src/parsedMessageAttachment.cpp +++ b/src/parsedMessageAttachment.cpp @@ -95,11 +95,11 @@ ref <message> parsedMessageAttachment::getMessage() const } -void parsedMessageAttachment::generateIn(bodyPart& parent) const +void parsedMessageAttachment::generateIn(ref <bodyPart> parent) const { // Create and append a new part for this attachment ref <bodyPart> part = vmime::create <bodyPart>(); - parent.getBody()->appendPart(part); + parent->getBody()->appendPart(part); // Set header fields part->getHeader()->ContentType()->setValue(getType()); |