summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svtools/source/contnr/svimpbox.cxx10
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();