From 2b53b46112b29c3508231518bcf2e71b9329e5ae Mon Sep 17 00:00:00 2001 From: Philipp Lohmann Date: Fri, 19 Apr 2002 09:13:53 +0000 Subject: #98787# correct MoveItem --- vcl/source/window/toolbox2.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'vcl/source/window/toolbox2.cxx') 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; -- cgit