summaryrefslogtreecommitdiff
path: root/sw/source/ui/docvw
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2002-09-10 07:43:37 +0000
committerOliver Specht <os@openoffice.org>2002-09-10 07:43:37 +0000
commitb1a03e7589ae84e54d5eb4f1da90d2647793089a (patch)
treee6807f0a141a6c432aa6e5ffb0127e138d333e26 /sw/source/ui/docvw
parent11ac464b1a6655f5596f148e457310bcdc2c3d55 (diff)
#103097# deselection of drawings while jumping to next object implemented
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r--sw/source/ui/docvw/edtwin.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index 8328d4c794f0..8ea3d3e5ebeb 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: edtwin.cxx,v $
*
- * $Revision: 1.53 $
+ * $Revision: 1.54 $
*
- * last change: $Author: os $ $Date: 2002-09-05 10:00:47 $
+ * last change: $Author: os $ $Date: 2002-09-10 08:43:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2004,6 +2004,14 @@ KEYINPUT_CHECKTABLE_INSDEL:
case KS_PrevObject:
if(rSh.GotoObj( KS_NextObject == eKeyState, GOTO_ANY))
{
+ if( rSh.IsFrmSelected() &&
+ rView.GetDrawFuncPtr() )
+ {
+ rView.GetDrawFuncPtr()->Deactivate();
+ rView.SetDrawFuncPtr(NULL);
+ rView.LeaveDrawCreate();
+ rView.AttrChangedNotify( &rSh );
+ }
rSh.HideCrsr();
rSh.EnterSelFrmMode();
}