summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-04-11 17:16:32 +0200
committerEike Rathke <erack@redhat.com>2017-04-11 19:06:36 +0200
commite777618a59b6a66207d416b7b4dd3e77c2662260 (patch)
treeb08b5dc17b067f4938d0fead4b8fe0a3ccd5a422 /sc/inc
parent87d4fd3b13f4dad7b043a776124e947bd0517014 (diff)
rename ScCaptionPtr (mb|set)InUndo to (mb|set)NotOwner
... which better suits the general purpose we'll need Change-Id: I32805c91d17180d5f18225a02c8a436826242e19
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/postit.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index a630aef271db..d9584e1e7005 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -86,7 +86,7 @@ public:
bool forget();
/** Flag that this instance is in Undo, so drawing layer owns it. */
- void setInUndo();
+ void setNotOwner();
oslInterlockedCount getRefs() const;
@@ -104,7 +104,7 @@ private:
Head* mpHead; ///< points to the "master" entry
mutable ScCaptionPtr* mpNext; ///< next in list
SdrCaptionObj* mpCaption; ///< the caption object, managed by head master
- bool mbInUndo; ///< whether this caption object is held in Undo
+ bool mbNotOwner; ///< whether this caption object is owned by something else, e.g. held in Undo
/* TODO: can that be moved to Head?
* It's unclear when to reset, so
* each instance has its own flag.