diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-01 12:22:42 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-01 11:11:04 +0000 |
commit | 88e5fa24eab7b89e946a340e9cf75951cbbffd79 (patch) | |
tree | 4e76bfae2a8482f1f37625d8fbbe08fbb6486a1d /sw/source/uibase/dochdl | |
parent | 73480e7a18536b62d314929fbfe27a8f2c0a03cc (diff) |
loplugin:constantparam in sw
Change-Id: I68f1594ca3f647d055f5087def74452452f86910
Reviewed-on: https://gerrit.libreoffice.org/23718
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/dochdl')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 6c1be51f9bb6..6f2bf1a6497b 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -3371,7 +3371,7 @@ bool SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt, } //not in selections or selected frames - if( rSh.ChgCurrPam( rDragPt ) || + if( rSh.TestCurrPam( rDragPt ) || ( rSh.IsSelFrameMode() && rSh.IsInsideSelectedObj( rDragPt )) ) return false; @@ -3441,7 +3441,7 @@ bool SwTransferable::PrivateDrop( SwWrtShell& rSh, const Point& rDragPt, rSh.GoPrevCursor(); rSh.SwCursorShell::SetCursor( aSttPt, true ); rSh.SelectTextAttr( RES_TXTATR_INETFMT ); - if( rSh.ChgCurrPam( rDragPt ) ) + if( rSh.TestCurrPam( rDragPt ) ) { // don't copy/move inside of yourself rSh.DestroyCursor(); |