summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-02-10 21:47:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-02-11 09:26:35 +0000
commit4c5e4c47dec8dc9741e1f5c401b8d23f0cfc8e03 (patch)
tree38539129300dc9d8809de5d1d5971fb5492df8bd /svtools
parent2fd5e3ad37239914b9f77438349ed3e0232c942a (diff)
update outputsize on parent resize and recalculate bounds
Change-Id: I6180f55137126d50cd6a4b60702c789d4b72a953
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/svimpbox.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 5d4dd0276f79..4888fbd30652 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -1315,8 +1315,8 @@ void SvImpLBox::InitScrollBarBox()
void SvImpLBox::Resize()
{
- Size aSize( pView->Control::GetOutputSizePixel());
- if( aSize.Width() <= 0 || aSize.Height() <= 0 )
+ aOutputSize = pView->Control::GetOutputSizePixel();
+ if( aOutputSize.Width() <= 0 || aOutputSize.Height() <= 0 )
return;
nFlags |= F_IN_RESIZE;
InitScrollBarBox();
@@ -1324,7 +1324,7 @@ void SvImpLBox::Resize()
if( pView->GetEntryHeight())
{
AdjustScrollBars( aOutputSize );
- FillView();
+ UpdateAll(false);
}
// HACK, as in floating and docked windows the scrollbars might not be drawn
// correctly/not be drawn at all after resizing!