diff options
author | Vasily Melenchuk <vasily.melenchuk@cib.de> | 2020-01-03 10:55:05 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2020-01-09 10:19:20 +0100 |
commit | fa0b6fd521b917f0f002ae22b78b25530e91d0c4 (patch) | |
tree | 2603f21891ef5a1d05ab699a43e2b6efd58282ad | |
parent | 5a8b378129feb725d4d3e48cd20b493688226eaa (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/+/86399
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Tested-by: Jenkins
-rw-r--r-- | sw/source/core/frmedt/feshview.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx index 41b46703f017..fe873b96bb26 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# |