diff options
author | Oliver Specht <os@openoffice.org> | 2002-01-11 10:36:09 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-01-11 10:36:09 +0000 |
commit | 5f1481004e23b9ea57755f0fa012c10763242a9d (patch) | |
tree | 1b24746ef148ede22e905ef4586dc6e1e0d91be9 /svx/source/tbxctrls/itemwin.cxx | |
parent | bac880d70545dde0587b4ef819d198e71fc84402 (diff) |
#96354# line color ListBox needs to update the current position in ::Select()
Diffstat (limited to 'svx/source/tbxctrls/itemwin.cxx')
-rw-r--r-- | svx/source/tbxctrls/itemwin.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/tbxctrls/itemwin.cxx b/svx/source/tbxctrls/itemwin.cxx index 6bf36b19fd47..303437261cb8 100644 --- a/svx/source/tbxctrls/itemwin.cxx +++ b/svx/source/tbxctrls/itemwin.cxx @@ -2,9 +2,9 @@ * * $RCSfile: itemwin.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: os $ $Date: 2001-09-06 14:42:49 $ + * last change: $Author: os $ $Date: 2002-01-11 11:36:09 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -347,6 +347,7 @@ void SvxColorBox::Select() { XLineColorItem aLineColorItem( GetSelectEntry(), GetSelectEntryColor() ); rBindings.GetDispatcher()->Execute( nId, SFX_CALLMODE_RECORD, &aLineColorItem, 0L ); + nCurPos = GetSelectEntryPos(); ReleaseFocus_Impl(); } } |