svx/source/tbxctrls/tbcontrl.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 0ce75cde0a0bdf4b3c23044e713f906a765e8a8a Author: Caolán McNamara <caol...@redhat.com> Date: Wed Oct 25 12:10:01 2017 +0100 Resolves: tdf#113328 crash in color replacer if parent closed before it Change-Id: I41a7af332cd36c9645b6042785c4d72f70e67795 Reviewed-on: https://gerrit.libreoffice.org/43824 Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index d37c0ab717cb..f5194489338b 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -3256,6 +3256,8 @@ SvxListBoxColorWrapper::SvxListBoxColorWrapper(SvxColorListBox* pControl) void SvxListBoxColorWrapper::operator()(const OUString& /*rCommand*/, const NamedColor& rColor) { + if (!mxControl) + return; mxControl->Selected(rColor); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits