diff options
Diffstat (limited to 'indra/llinventory/llnotecard.h')
-rw-r--r-- | indra/llinventory/llnotecard.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/llinventory/llnotecard.h b/indra/llinventory/llnotecard.h index 369bf784a1..9940a4ca69 100644 --- a/indra/llinventory/llnotecard.h +++ b/indra/llinventory/llnotecard.h @@ -52,11 +52,12 @@ public: bool importStream(std::istream& str); bool exportStream(std::ostream& str); - const std::vector<LLPointer<LLInventoryItem> >& getItems() const; - LLString& getText(); + const std::vector<LLPointer<LLInventoryItem> >& getItems() const { return mItems; } + const std::string& getText() const { return mText; } + std::string& getText() { return mText; } void setItems(const std::vector<LLPointer<LLInventoryItem> >& items); - void setText(const LLString& text); + void setText(const std::string& text); S32 getVersion() { return mVersion; } S32 getEmbeddedVersion() { return mEmbeddedVersion; } @@ -64,7 +65,7 @@ private: bool importEmbeddedItemsStream(std::istream& str); bool exportEmbeddedItemsStream(std::ostream& str); std::vector<LLPointer<LLInventoryItem> > mItems; - LLString mText; + std::string mText; S32 mMaxText; S32 mVersion; S32 mEmbeddedVersion; |