sc/inc/postit.hxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
New commits: commit 2793561bb6dd439a8010780e9bb58572ccac99e1 Author: Eike Rathke <[email protected]> Date: Fri Feb 24 16:32:25 2017 +0100 correct description Change-Id: I830e81985243e7a552716ede163466bf7adfcd9a diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index e8f2122..ea4a43d 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -188,11 +188,13 @@ public: /** Returns an existing note caption object. returns null, if the note contains initial caption data needed to construct a caption object. - The SdrCaptionObj* returned is unmanaged and must not be stored elsewhere. */ + The SdrCaptionObj* returned is still managed by the underlying + ScNoteData::ScCaptionPtr and must not be stored elsewhere. */ SdrCaptionObj* GetCaption() const { return maNoteData.mxCaption.get();} /** Returns the caption object of this note. Creates the caption object, if the note contains initial caption data instead of the caption. - The SdrCaptionObj* returned is unmanaged and must not be stored elsewhere. */ + The SdrCaptionObj* returned is still managed by the underlying + ScNoteData::ScCaptionPtr and must not be stored elsewhere. */ SdrCaptionObj* GetOrCreateCaption( const ScAddress& rPos ) const; /** Forgets the pointer to the note caption object. _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
