diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2014-07-14 18:08:51 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-07-14 18:17:30 +0200 |
commit | a32f8c730ae39d7c791f6c884df8773dac23b420 (patch) | |
tree | e3c30635c0a2f5e597583cdaa9023f08efabd213 /sc | |
parent | f48d1e36c01ad9a433a916bfabb9eeb963a04d0e (diff) |
Related cp#1000084: Make this work for other apps too and set proper default
Extend d98c817cc71e62a2beecc7142062f9ef33a7149b and fix default.
(cherry picked from commit 37c3cf70c724b7402588d1d32d3aa76a965ee41b)
Conflicts:
sc/source/ui/drawfunc/fusel.cxx
sd/source/ui/func/fusel.cxx
Change-Id: I79ad35bd5ad6fbd6e7d260864d4bf40fafb6b604
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index 13e1d30534c4..7c928bd7b2cc 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -21,6 +21,7 @@ #include <editeng/eeitem.hxx> #include <editeng/flditem.hxx> +#include <svx/svddrgmt.hxx> #include <svx/svdoole2.hxx> #include <svx/svdotext.hxx> #include <sfx2/dispatch.hxx> @@ -146,7 +147,8 @@ sal_Bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) if ( bDrag ) { aDragTimer.Start(); - pView->BegDragObj(aMDPos, (OutputDevice*) NULL, pHdl); + if (pView->BegDragObj(aMDPos, (OutputDevice*) NULL, pHdl)) + pView->GetDragMethod()->SetShiftPressed( rMEvt.IsShift() ); bReturn = sal_True; } } |