diff options
author | Armin Le Grand <alg@apache.org> | 2012-10-19 14:09:57 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-10-19 14:09:57 +0000 |
commit | d794e5f9ebb756958725183bbfcc88f457d1bc1d (patch) | |
tree | 1449fd1bcd171a424b0a9d4ce6cef5daf86aa0bf /sc | |
parent | 149e995910a45e66aa5cb2ff8af1da822667c7e4 (diff) |
#121236# Added support for fast move of objects with cursor keys (holding shift) for Writer and Calc (was alraedy in Draw/Impress)
Notes
Notes:
merged as: 2d64de59c2109e378e4d38d6cad2510226c05435
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/fudraw.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx index f6681c69187c..cf91e1908a89 100644 --- a/sc/source/ui/drawfunc/fudraw.cxx +++ b/sc/source/ui/drawfunc/fudraw.cxx @@ -504,6 +504,11 @@ sal_Bool __EXPORT FuDraw::KeyInput(const KeyEvent& rKEvt) nX *= aLogicSizeOnePixel.Width(); nY *= aLogicSizeOnePixel.Height(); } + else if(rKEvt.GetKeyCode().IsShift()) // #121236# Support for shift key in calc + { + nX *= 1000; + nY *= 1000; + } else { // old, fixed move distance |