summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh/select.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-07-10 20:56:43 +0200
committerMatúš Kukan <matus.kukan@collabora.com>2014-07-11 09:32:08 +0200
commitd98c817cc71e62a2beecc7142062f9ef33a7149b (patch)
treeb204588f46e938c5549c2a4ff4b87d8e71bc9591 /sw/source/uibase/wrtsh/select.cxx
parentd5dd1216804afae35d7fe7dbb1d37b0ca1fcce88 (diff)
Allow to move only callout handle with shift key (cp#1000084)
When line callout was used, you couldn't move the point next to the rectangle. Now it's possible with shift key pressed. Change-Id: I70565e4e3f80daf0e1007031ef7d49036fb0e26b
Diffstat (limited to 'sw/source/uibase/wrtsh/select.cxx')
-rw-r--r--sw/source/uibase/wrtsh/select.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 29fa6c402aca..8e058602f1bd 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -648,16 +648,16 @@ void SwWrtShell::SetRedlineModeAndCheckInsMode( sal_uInt16 eMode )
// Edit frame
-long SwWrtShell::BeginFrmDrag(const Point *pPt, bool)
+long SwWrtShell::BeginFrmDrag(const Point *pPt, bool bIsShift)
{
fnDrag = &SwFEShell::Drag;
if(bStartDrag)
{
Point aTmp( nStartDragX, nStartDragY );
- SwFEShell::BeginDrag( &aTmp, false );
+ SwFEShell::BeginDrag( &aTmp, bIsShift );
}
else
- SwFEShell::BeginDrag( pPt, false );
+ SwFEShell::BeginDrag( pPt, bIsShift );
return 1;
}