diff options
-rw-r--r-- | svx/source/dialog/charmap.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/svx/source/dialog/charmap.cxx b/svx/source/dialog/charmap.cxx index 1786b7156579..7b47b53c3f04 100644 --- a/svx/source/dialog/charmap.cxx +++ b/svx/source/dialog/charmap.cxx @@ -602,7 +602,6 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) aVscrollSB->SetThumbPos( nNewPos ); nSelectedIndex = bFocus ? nMapIndex+1 : -1; Invalidate(); - Update(); } else if( nNewIndex < FirstInView() ) { @@ -612,8 +611,6 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) aVscrollSB->SetThumbPos( nOldPos - nDelta ); nSelectedIndex = nNewIndex; Invalidate(); - if( nDelta ) - Update(); } else if( nNewIndex > LastInView() ) { @@ -626,10 +623,9 @@ void SvxShowCharSet::SelectIndex( int nNewIndex, bool bFocus ) nSelectedIndex = nNewIndex; Invalidate(); } - if( nOldPos != aVscrollSB->GetThumbPos() ) + else if (nOldPos != aVscrollSB->GetThumbPos()) { Invalidate(); - Update(); } } else |