| commit | dc8b0ef9ddf52aac2e2188925d9273c202086834 | [log] |
|---|---|---|
| author | Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu> | Wed Nov 25 14:06:49 2020 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Thu Dec 03 23:31:56 2020 +0100 |
| tree | f71ed0ead789b748738a0fdf7cd1926fe4713285 | |
| parent | 12637d0ddecd9c70c7255f76ff5e3b8651ae273e [diff] |
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 <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org> (cherry picked from commit 64819ab91555b5afe360cf25aba6431546c4d905) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107107 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index bad9f4a..51d21db 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx
@@ -400,6 +400,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 ); }