diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-11 20:35:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-11 20:39:08 +0100 |
commit | 5ffe469a9e9c5b86dbdcbe556d23cd789a9f3a55 (patch) | |
tree | 1429bcc60fcbb0da0832a28a91f5164577d3686d | |
parent | 8865ed2efecd03722d10e522265f31c99b13b2bb (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
-rw-r--r-- | svtools/source/control/valueset.cxx | 1 |
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 |