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-15 23:56:20 +0100
commit2a676d8dcf5404a0b82e9d99c66579170b1a8690 (patch)
treee128306545bddc3b12c6c0ccf79c168ddccc8e4f
parent6b9fefa671bb53d4555c8cf68071fc1d78e9246d (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> (cherry picked from commit c79dcf98d662e76b1290f8d43c927d1031e94729) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86400 Tested-by: Jenkins
-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 dca686eae993..598ed442b727 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -2089,6 +2089,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#