diff options
author | Daniel Rentz <dr@openoffice.org> | 2002-09-30 13:10:54 +0000 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2002-09-30 13:10:54 +0000 |
commit | 2302c3361300f5922fc279c23e2b3dfed0e9f6ad (patch) | |
tree | f5ec07a735693364da70f7a2c65b02a6e03bf89d /svx/source/dialog/checklbx.cxx | |
parent | Code review cleanup (diff) | |
download | core-2302c3361300f5922fc279c23e2b3dfed0e9f6ad.tar.gz core-2302c3361300f5922fc279c23e2b3dfed0e9f6ad.zip |
#103330# CheckListBox: first select, then check
Diffstat (limited to 'svx/source/dialog/checklbx.cxx')
-rw-r--r-- | svx/source/dialog/checklbx.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svx/source/dialog/checklbx.cxx b/svx/source/dialog/checklbx.cxx index d15aec21b8be..7083c9e50d06 100644 --- a/svx/source/dialog/checklbx.cxx +++ b/svx/source/dialog/checklbx.cxx @@ -2,9 +2,9 @@ * * $RCSfile: checklbx.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: gt $ $Date: 2002-07-22 09:40:54 $ + * last change: $Author: dr $ $Date: 2002-09-30 14:10:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -221,7 +221,8 @@ void SvxCheckListBox::ToggleCheckButton( SvLBoxEntry* pEntry ) { if ( !IsSelected( pEntry ) ) Select( pEntry ); - CheckEntryPos( GetSelectEntryPos(), !IsChecked( GetSelectEntryPos() ) ); + else + CheckEntryPos( GetSelectEntryPos(), !IsChecked( GetSelectEntryPos() ) ); } } |