summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-11-15 11:35:40 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-11-15 15:46:21 +0000
commit44aa71792bace19bfee54ccf95126ca964fabccf (patch)
tree525ece273823b7fe751ec847a36959ad9c2c972c /formula
parent3e8bd48f7de1df8770840c4d8f5d6fa1bcb56d04 (diff)
tdf#95798: CRASH: when finish Function wizard on Report builder
Following http://cgit.freedesktop.org/libreoffice/core/commit/?id=844b7287a4ccd8e3d5e458bb1dc6c52e71322b01 Change-Id: Ia5a2cd39cf3fdf87619f55710a188545830b4088 Reviewed-on: https://gerrit.libreoffice.org/19970 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/formula.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/formula/source/ui/dlg/formula.cxx b/formula/source/ui/dlg/formula.cxx
index 0d3fbbc95c4f..4fe6478dbeb3 100644
--- a/formula/source/ui/dlg/formula.cxx
+++ b/formula/source/ui/dlg/formula.cxx
@@ -1740,7 +1740,8 @@ void FormulaModalDialog::SetFocusWin(vcl::Window *pWin,const OString& nUniqueId)
bool FormulaModalDialog::PreNotify( NotifyEvent& rNEvt )
{
- m_pImpl->PreNotify( rNEvt );
+ if (m_pImpl)
+ m_pImpl->PreNotify( rNEvt );
return ModalDialog::PreNotify(rNEvt);
}