sfx2/source/sidebar/TabItem.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 296a67874a9e5ee1f93a38716e996207b1d2b59f Author: Caolán McNamara <caol...@redhat.com> Date: Fri May 13 12:31:53 2016 +0100 Resolves: tdf#96092 crash on activating manage changes sidebar Change-Id: I39ab778114e2317ac471e92f9441ed4a83e7023b diff --git a/sfx2/source/sidebar/TabItem.cxx b/sfx2/source/sidebar/TabItem.cxx index 8042528..8c45b65 100644 --- a/sfx2/source/sidebar/TabItem.cxx +++ b/sfx2/source/sidebar/TabItem.cxx @@ -103,9 +103,12 @@ void TabItem::MouseButtonUp(const MouseEvent& rMouseEvent) { Check(); Click(); - GetParent()->Invalidate(); + vcl::Window* pParent = GetParent(); + if (pParent) + pParent->Invalidate(); } } + if (mbIsLeftButtonDown) { mbIsLeftButtonDown = false;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits