summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2020-01-03 10:55:05 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-01-08 10:25:04 +0100
commitc79dcf98d662e76b1290f8d43c927d1031e94729 (patch)
tree3c2eca194892ba5fcc265d06a0f20747f645e4fa
parentb10be5d48433076f0b7238d818020f708553e114 (diff)
tdf#128782: sw: set name for draw frame style for text box
Since new undo/redo code operates style names instead of pointers, it is important to have all formats with name. Change-Id: Ib91cd13b8a324ae674e9ace9bb5f17e679bd2dab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86162 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
-rw-r--r--sw/source/core/frmedt/feshview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 9c14c9372362..93f82fb4cbde 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -2080,6 +2080,7 @@ bool SwFEShell::ImpEndCreate()
text::PositionLayoutDir::PositionInLayoutDirOfAnchor );
// #i44344#, #i44681# - positioning attributes already set
pFormat->PosAttrSet();
+ pFormat->SetName(GetUniqueShapeName());
SwDrawContact *pContact = new SwDrawContact( pFormat, &rSdrObj );
// #i35635#