diff options
author | Philipp Lohmann <pl@openoffice.org> | 2002-04-19 09:13:53 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2002-04-19 09:13:53 +0000 |
commit | 2b53b46112b29c3508231518bcf2e71b9329e5ae (patch) | |
tree | aed080fb4afe77d8fe3f775b359ba89a9342c01f /vcl/source/window/toolbox2.cxx | |
parent | f6ef26f710d5c43ff043fc927a979ce2f33e78e8 (diff) |
#98787# correct MoveItem
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index dcb4d43524e5..c89d89f7bd05 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: toolbox2.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: ssa $ $Date: 2002-03-07 16:13:07 $ + * last change: $Author: pl $ $Date: 2002-04-19 10:13:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -618,9 +618,6 @@ void ToolBox::MoveItem( USHORT nItemId, USHORT nNewPos ) { USHORT nPos = GetItemPos( nItemId ); - if ( nPos < nNewPos ) - nNewPos--; - if ( nPos == nNewPos ) return; |