summaryrefslogtreecommitdiff
path: root/sc/inc/postit.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-02-24 16:32:25 +0100
committerEike Rathke <erack@redhat.com>2017-02-24 16:32:53 +0100
commit2793561bb6dd439a8010780e9bb58572ccac99e1 (patch)
treee0cdfc8cb830f4f96ee562fd167a00783beaf1a5 /sc/inc/postit.hxx
parent5d9f7548bcf842c613c26e5ab192199b415e6004 (diff)
correct description
Change-Id: I830e81985243e7a552716ede163466bf7adfcd9a
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r--sc/inc/postit.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index e8f212208289..ea4a43d9d4de 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.