From 465fad70e743fa2eed23cd1efd4f43273a3dd5a9 Mon Sep 17 00:00:00 2001 From: Armin Weiss Date: Tue, 19 Nov 2002 14:54:09 +0000 Subject: #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(). --- sd/source/ui/func/fudraw.cxx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'sd/source/ui/func/fudraw.cxx') 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() )) { -- cgit