diff options
author | Eike Rathke <erack@redhat.com> | 2017-01-18 22:49:08 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-25 12:48:38 +0000 |
commit | 6c6528828c5ca1da6a1ccc98d1aa5b42d84152a4 (patch) | |
tree | e6b7fcc9a114da17a952c56e561739728f53943f /sc/source/ui | |
parent | 033b47dd2ace4d43bf0be1a6983717adf044b0c2 (diff) |
tdf#104967 preserve isolated notes data in clipboard when closing document
Change-Id: I0e263583e27c5103c0bb90e8fe00562e46a52d98
(cherry picked from commit b8b657123cc508c906622d20669507628c93e104)
Reviewed-on: https://gerrit.libreoffice.org/33289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/undo/undoblk.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx index 46b2ba31db27..2c19695b6b86 100644 --- a/sc/source/ui/undo/undoblk.cxx +++ b/sc/source/ui/undo/undoblk.cxx @@ -939,7 +939,7 @@ void ScUndoPaste::DoChange(bool bUndo) sal_uInt16 nExtFlags = 0; pDocShell->UpdatePaintExt(nExtFlags, maBlockRanges.Combine()); - rDoc.ForgetNoteCaptions(maBlockRanges); + rDoc.ForgetNoteCaptions(maBlockRanges, false); aMarkData.MarkToMulti(); rDoc.DeleteSelection(nUndoFlags, aMarkData, false); // no broadcasting here for (size_t i = 0, n = maBlockRanges.size(); i < n; ++i) |