diff options
author | Eike Rathke <erack@redhat.com> | 2017-04-11 17:16:32 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-04-11 19:06:36 +0200 |
commit | e777618a59b6a66207d416b7b4dd3e77c2662260 (patch) | |
tree | b08b5dc17b067f4938d0fead4b8fe0a3ccd5a422 /sc/source/ui/undo | |
parent | Remove unnecessary casts to void (diff) | |
download | core-e777618a59b6a66207d416b7b4dd3e77c2662260.tar.gz core-e777618a59b6a66207d416b7b4dd3e77c2662260.zip |
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/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undocell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 202acdd26f45..7db4c9065500 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -712,12 +712,12 @@ ScUndoReplaceNote::ScUndoReplaceNote( ScDocShell& rDocShell, const ScAddress& rP if (bInsert) { maNewData = rNoteData; - maNewData.mxCaption.setInUndo(); + maNewData.mxCaption.setNotOwner(); } else { maOldData = rNoteData; - maOldData.mxCaption.setInUndo(); + maOldData.mxCaption.setNotOwner(); } } @@ -731,8 +731,8 @@ ScUndoReplaceNote::ScUndoReplaceNote( ScDocShell& rDocShell, const ScAddress& rP { OSL_ENSURE( maOldData.mxCaption || maNewData.mxCaption, "ScUndoReplaceNote::ScUndoReplaceNote - missing note captions" ); OSL_ENSURE( !maOldData.mxInitData.get() && !maNewData.mxInitData.get(), "ScUndoReplaceNote::ScUndoReplaceNote - unexpected unitialized note" ); - maOldData.mxCaption.setInUndo(); - maNewData.mxCaption.setInUndo(); + maOldData.mxCaption.setNotOwner(); + maNewData.mxCaption.setNotOwner(); } ScUndoReplaceNote::~ScUndoReplaceNote() |