sw/source/core/frmedt/feshview.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit c79dcf98d662e76b1290f8d43c927d1031e94729
Author:     Vasily Melenchuk <vasily.melenc...@cib.de>
AuthorDate: Fri Jan 3 10:55:05 2020 +0100
Commit:     Thorsten Behrens <thorsten.behr...@cib.de>
CommitDate: Wed Jan 8 10:25:04 2020 +0100

    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.behr...@cib.de>
    Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

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#
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to