svtools/source/control/valueset.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 5ffe469a9e9c5b86dbdcbe556d23cd789a9f3a55 Author: Caolán McNamara <[email protected]> Date: Mon May 11 20:35:55 2015 +0100 crash in numbering on/off->more numbering regression from commit 2fa44119c802c39c4871e77726c01e6ba62a6262 Author: Tomaž Vajngerl <[email protected]> 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 diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx index 28bee35..85caf55 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
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
