sw/source/uibase/dochdl/swdtflvr.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 445ea4cbca3e362f9ff0647dc3f0792b9c52fa89 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Nov 22 11:38:45 2018 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Nov 22 15:49:43 2018 +0100 tdf#120703 PVS: V765 simplfy assignment Change-Id: I4cf55dfd0a4b4684b6e8fed2c36a8e79bbf138c1 Reviewed-on: https://gerrit.libreoffice.org/63799 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 33497fafbef4..c612bf38e3bc 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -3510,7 +3510,7 @@ bool SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt, if ( rSrcSh.IsSelFrameMode() ) { //Hack: fool the special treatment - aSttPt -= aSttPt - rSrcSh.GetObjRect().Pos(); + aSttPt = rSrcSh.GetObjRect().Pos(); } bool bRet = rSrcSh.SwFEShell::Copy( &rSh, aSttPt, rDragPt, bMove, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits