diff options
author | Malte Timmermann <mt@openoffice.org> | 2001-10-31 14:43:41 +0000 |
---|---|---|
committer | Malte Timmermann <mt@openoffice.org> | 2001-10-31 14:43:41 +0000 |
commit | f822ed97a45144b5f50ffd40f6a73c43f7beed94 (patch) | |
tree | dfd5710878b9e4e1f84ae38d1d3386c096e14f20 /svx | |
parent | 35c0df0e1b6b8f78dff5ff6c4a7fa469aa0b4d17 (diff) |
#93587# Don't call ImpCanIndentSelectedPages when pressing Shift-Tab
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/outliner/outlvw.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/svx/source/outliner/outlvw.cxx b/svx/source/outliner/outlvw.cxx index 9c0383ac8dfc..49cd34236498 100644 --- a/svx/source/outliner/outlvw.cxx +++ b/svx/source/outliner/outlvw.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outlvw.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: mt $ $Date: 2001-08-24 13:52:13 $ + * last change: $Author: mt $ $Date: 2001-10-31 15:43:41 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -155,7 +155,7 @@ BOOL OutlinerView::PostKeyEvent( const KeyEvent& rKEvt ) USHORT nCode = aKeyCode.GetCode(); BOOL bReadOnly = IsReadOnly(); - if( bSelection && EditEngine::DoesKeyChangeText( rKEvt ) ) + if( bSelection && ( nCode != KEY_TAB ) && EditEngine::DoesKeyChangeText( rKEvt ) ) { if ( ImpCalcSelectedPages( FALSE ) && !pOwner->ImpCanDeleteSelectedPages( this ) ) return TRUE; @@ -779,6 +779,11 @@ void OutlinerView::Indent( short nDiff ) pOwner->pHdlParagraph = pPara; pOwner->DepthChangedHdl(); } + else + { + // Needs at least a repaint... + pOwner->pEditEngine->QuickMarkInvalid( ESelection( nPara, 0, nPara, 0 ) ); + } } // MT 19.08.99: War mal fuer Optimierung (outliner.cxx#1.193), |