diff options
Diffstat (limited to 'Slimber')
-rw-r--r-- | Slimber/FileVCardCollection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Slimber/FileVCardCollection.cpp b/Slimber/FileVCardCollection.cpp index 9fab068..960cd84 100644 --- a/Slimber/FileVCardCollection.cpp +++ b/Slimber/FileVCardCollection.cpp @@ -26,7 +26,7 @@ boost::shared_ptr<VCard> FileVCardCollection::getOwnVCard() const { VCardParser parser; PayloadParserTester tester(&parser); - tester.parse(std::string(data.getData(), data.getSize())); + tester.parse(data.toString()); return boost::dynamic_pointer_cast<VCard>(parser.getPayload()); } else { |