diff options
author | Stephan Schäfer <ssa@openoffice.org> | 2001-12-06 10:37:06 +0000 |
---|---|---|
committer | Stephan Schäfer <ssa@openoffice.org> | 2001-12-06 10:37:06 +0000 |
commit | 5181347ad094a20b72f3bbcc75b322e8e98ebdbf (patch) | |
tree | aa1cf11d2936b29edb3c07c6eb516698175c14da | |
parent | 84cc7c4327afe166636e1c389d7cef663208d8ec (diff) |
#95587# avoid endless loop when iterating dialog controls
-rw-r--r-- | vcl/source/window/dlgctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/dlgctrl.cxx b/vcl/source/window/dlgctrl.cxx index 66fc96bbaaed..8131cbef397d 100644 --- a/vcl/source/window/dlgctrl.cxx +++ b/vcl/source/window/dlgctrl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgctrl.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: th $ $Date: 2001-06-15 13:26:49 $ + * last change: $Author: ssa $ $Date: 2001-12-06 11:37:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -274,7 +274,7 @@ Window* Window::ImplGetDlgWindow( USHORT nIndex, USHORT nType, { if ( pWindow->GetStyle() & WB_TABSTOP ) break; - if ( (i >= nFormEnd) || (i < nFormStart) ) + if ( (i > nFormEnd) || (i < nFormStart) ) pWindow = ImplGetChildWindow( this, nFormStart, i, TRUE ); else pWindow = ImplGetNextWindow( this, i, i, TRUE ); |