[Libreoffice-commits] core.git: Branch 'libreoffice-6-3' - sw/source

Vasily Melenchuk (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 15 22:56:48 UTC 2020


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

New commits:
commit 2a676d8dcf5404a0b82e9d99c66579170b1a8690
Author:     Vasily Melenchuk <vasily.melenchuk at cib.de>
AuthorDate: Fri Jan 3 10:55:05 2020 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Jan 15 23:56:20 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.Behrens at CIB.de>
    Tested-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
    (cherry picked from commit c79dcf98d662e76b1290f8d43c927d1031e94729)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86400
    Tested-by: Jenkins

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#


More information about the Libreoffice-commits mailing list