[Libreoffice-commits] core.git: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 22 14:49:57 UTC 2018


 sw/source/uibase/dochdl/swdtflvr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 445ea4cbca3e362f9ff0647dc3f0792b9c52fa89
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Nov 22 11:38:45 2018 +0000
Commit:     Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at 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,


More information about the Libreoffice-commits mailing list