From 11c9c2fed603995d06d909d9b23fb5f1c46dddd7 Mon Sep 17 00:00:00 2001
From: Ivan Timofeev <timofeev.i.s@gmail.com>
Date: Mon, 7 May 2012 22:31:34 +0400
Subject: [PATCH] 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
---
 svtools/source/contnr/svimpbox.cxx |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 574a800..fe806c3 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();
 
-- 
1.7.10

