sd/source/ui/sidebar/SlideBackground.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 75ca2defe8edba8d198a05e7f64674418171536d Author: Markus Mohrhard <[email protected]> Date: Wed Jun 15 23:34:33 2016 +0200 SfxObjectShell::Current may return nullptr See http://crashreport.libreoffice.org/stats/crash_details/caa7efba-fbe8-4c58-966d-c4bc356b5a63 Change-Id: Idc8b3a2e482a5423080735f46f50d415835f747d Reviewed-on: https://gerrit.libreoffice.org/26341 Tested-by: Jenkins <[email protected]> Reviewed-by: Markus Mohrhard <[email protected]> diff --git a/sd/source/ui/sidebar/SlideBackground.cxx b/sd/source/ui/sidebar/SlideBackground.cxx index 3ca1d7d..279d8e4 100644 --- a/sd/source/ui/sidebar/SlideBackground.cxx +++ b/sd/source/ui/sidebar/SlideBackground.cxx @@ -159,6 +159,9 @@ void SlideBackground::Update() { const drawing::FillStyle eXFS = (drawing::FillStyle)mpFillStyle->GetSelectEntryPos(); SfxObjectShell* pSh = SfxObjectShell::Current(); + if (!pSh) + return; + switch(eXFS) { case drawing::FillStyle_NONE: _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
