sw/source/core/frmedt/fecopy.cxx |    5 +++++
 1 file changed, 5 insertions(+)
New commits:
commit 64819ab91555b5afe360cf25aba6431546c4d905
Author:     Attila Bakos (NISZ) <bakos.attilakar...@nisz.hu>
AuthorDate: Wed Nov 25 14:06:49 2020 +0100
Commit:     László Németh <nem...@numbertext.org>
CommitDate: Thu Dec 3 11:25:02 2020 +0100

    tdf#135044 sw: fix Ctrl + drag textbox copy
    
    Text content was missing in the new textbox
    after Ctrl + drag and drop copying of a text box
    with text content.
    
    Change-Id: Ib93096df0028ee0e02c73804c1518aec4490b57f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106585
    Tested-by: László Németh <nem...@numbertext.org>
    Reviewed-by: László Németh <nem...@numbertext.org>

diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index c3e7b0be030c..7780f9dbb885 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -399,6 +399,11 @@ bool SwFEShell::CopyDrawSel( SwFEShell& rDestShell, const 
Point& rSttPt,
                         if (SwDrawFrameFormat *pDrawFormat = 
dynamic_cast<SwDrawFrameFormat*>(pFormat))
                             pDrawFormat->PosAttrSet();
                     }
+                    if (SwTextBoxHelper::getOtherTextBoxFormat(pFormat, 
RES_DRAWFRMFMT))
+                    {
+                        SwTextBoxHelper::syncFlyFrameAttr(*pFormat, 
pFormat->GetAttrSet());
+                    }
+
                     if( bSelectInsert )
                         pDestDrwView->MarkObj( pNew, pDestPgView );
                 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to