summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-11 20:35:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-11 20:39:08 +0100
commit5ffe469a9e9c5b86dbdcbe556d23cd789a9f3a55 (patch)
tree1429bcc60fcbb0da0832a28a91f5164577d3686d /svtools
parent8865ed2efecd03722d10e522265f31c99b13b2bb (diff)
crash in numbering on/off->more numbering
regression from commit 2fa44119c802c39c4871e77726c01e6ba62a6262 Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> Date: Mon May 11 17:55:36 2015 +0900 refactor ValueSet to use RenderContext Change-Id: I3985804f8cfd1b6807bc02bef5af3e24e5cb3cbf don't know if the Invalidate that replaced this ImplInitScrollBar call is actually necessary of not. Change-Id: I6aff171af6b7294a28f3b68fe854f25f51b6b70a
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 28bee3593a83..85caf5543386 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -2265,6 +2265,7 @@ long ValueSet::GetScrollWidth() const
if (GetStyle() & WB_VSCROLL)
{
const_cast<ValueSet*>(this)->Invalidate();
+ const_cast<ValueSet*>(this)->ImplInitScrollBar();
return mxScrollBar->GetSizePixel().Width() + SCRBAR_OFFSET;
}
else