summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/imivctl1.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-09 08:06:19 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-09 08:06:19 +0000
commitfd06ee8dc37f3441e035fa75e284473df658fad7 (patch)
tree1c75e4309c652873ddc7d28f748b628a385d1941 /svtools/source/contnr/imivctl1.cxx
parent799d285798b19ea7e80f456ba6a8922f5ec06232 (diff)
INTEGRATION: CWS insight02 (1.21.2); FILE MERGED
2004/08/11 12:19:39 oj 1.21.2.1: #i30218# do not allow key modify in single selection
Diffstat (limited to 'svtools/source/contnr/imivctl1.cxx')
-rw-r--r--svtools/source/contnr/imivctl1.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 08ae21436303..b0df6cc1f03a 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: imivctl1.cxx,v $
*
- * $Revision: 1.21 $
+ * $Revision: 1.22 $
*
- * last change: $Author: hr $ $Date: 2004-08-02 14:35:27 $
+ * last change: $Author: rt $ $Date: 2004-09-09 09:06:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -935,7 +935,7 @@ BOOL SvxIconChoiceCtrl_Impl::MouseButtonDown( const MouseEvent& rMEvt)
if( pEntry )
MakeEntryVisible( pEntry, FALSE );
- if( rMEvt.IsShift() )
+ if( rMEvt.IsShift() && eSelectionMode != SINGLE_SELECTION )
{
if( pEntry )
SetCursor_Impl( pCursor, pEntry, rMEvt.IsMod1(), rMEvt.IsShift(), TRUE);
@@ -1403,7 +1403,7 @@ BOOL SvxIconChoiceCtrl_Impl::KeyInput( const KeyEvent& rKEvt )
#endif
case KEY_SPACE:
- if( pCursor )
+ if( pCursor && eSelectionMode != SINGLE_SELECTION )
{
if( !bMod1 )
{