summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fudraw.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2002-11-19 14:54:09 +0000
committerArmin Weiss <aw@openoffice.org>2002-11-19 14:54:09 +0000
commit465fad70e743fa2eed23cd1efd4f43273a3dd5a9 (patch)
tree910518ab1699ce9f1e463c9c4d4a9206a2a575a7 /sd/source/ui/func/fudraw.cxx
parent7ebebbbd522b6faa84f8fccaa73cf23a57163979 (diff)
#105336# Moved next line which was a bugfix itself into the scope which really does the object selection travel and thus is allowed to call SelectionHasChanged().
Diffstat (limited to 'sd/source/ui/func/fudraw.cxx')
-rw-r--r--sd/source/ui/func/fudraw.cxx18
1 files changed, 11 insertions, 7 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index 49451fa325d9..89ff4570782c 100644
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fudraw.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: af $ $Date: 2002-10-15 15:16:08 $
+ * last change: $Author: aw $ $Date: 2002-11-19 15:54:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -595,13 +595,17 @@ BOOL FuDraw::KeyInput(const KeyEvent& rKEvt)
{
KeyCode aCode = rKEvt.GetKeyCode();
- // Switch to FuSelect.
- pViewShell->GetViewFrame()->GetDispatcher()->Execute(
- SID_OBJECT_SELECT,
- SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
-
if ( !aCode.IsMod1() && !aCode.IsMod2() )
{
+ // #105336# Moved next line which was a bugfix itself into
+ // the scope which really does the object selection travel
+ // and thus is allowed to call SelectionHasChanged().
+
+ // Switch to FuSelect.
+ pViewShell->GetViewFrame()->GetDispatcher()->Execute(
+ SID_OBJECT_SELECT,
+ SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
+
// changeover to the next object
if(!pView->MarkNextObj( !aCode.IsShift() ))
{