diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2009-01-20 10:54:52 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2009-01-20 10:54:52 +0000 |
commit | 1f8a54c6e0c059234c5e867979e90a1f0ef96b9d (patch) | |
tree | 5ead05251f667b316c7bb571328c77c8ac907fc1 /vcl/source | |
parent | a257eb583bcec50ec09d9fd2b5c714516711bb2a (diff) |
CWS-TOOLING: integrate CWS ooo301gsl4_DEV300
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/ilstbox.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx index 62ec901bfe25..57d67de19c76 100644 --- a/vcl/source/control/ilstbox.cxx +++ b/vcl/source/control/ilstbox.cxx @@ -2023,7 +2023,7 @@ void ImplListBoxWindow::SetTopEntry( USHORT nTop ) if( nTop > nLastEntry ) nTop = nLastEntry; const ImplEntryType* pLast = mpEntryList->GetEntryPtr( nLastEntry ); - while( nTop > 0 && mpEntryList->GetAddedHeight( nLastEntry, nTop-1 ) + pLast->mnHeight < nWHeight ) + while( nTop > 0 && mpEntryList->GetAddedHeight( nLastEntry, nTop-1 ) + pLast->mnHeight <= nWHeight ) nTop--; if ( nTop != mnTop ) |