diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-07 22:31:34 +0400 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-05-08 11:22:59 +0100 |
commit | 6a64e5bbd43e262d87e291dcc411628efac61fde (patch) | |
tree | 90d42bfea60fd6fc95de03c8b949b0f828541002 | |
parent | 2580fcb655e55e2e482524ccd5a84e13377b824b (diff) |
Revert "Set the listbox height to an integer multiple of the listbox entry...
This reverts commit 16c9d63da67897e51960f3684d8d05b06f2c8f81.
Conflicts:
svtools/source/contnr/svimpbox.cxx
Change-Id: I8e030e3b85fbf31d8369646e55048b830a83486e
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index 574a8009ecab..fe806c39c435 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -1352,18 +1352,8 @@ void SvImpLBox::InitScrollBarBox() void SvImpLBox::Resize() { Size aSize( pView->Control::GetOutputSizePixel()); - long nEntryHeight = pView->GetEntryHeight(); - if( aSize.Width() <= 0 || aSize.Height() <= 0 ) return; - if( nEntryHeight ) - { - // Set the view height to an integer multiple of the entry height. - int nEntryCount = (int) aSize.Height() / nEntryHeight; - aSize.Height() = pView->GetEntryHeight() * nEntryCount; - pView->Control::SetOutputSizePixel( aSize ); - } - nFlags |= F_IN_RESIZE; InitScrollBarBox(); |