diff options
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/dlgedfunc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 1af8f100afee..7badb0e8ec16 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -402,7 +402,7 @@ void DlgEdFunc::activateOle(SdrObject* _pObj) if (!bIsInplaceOle) { SdrOle2Obj* pOleObj = dynamic_cast<SdrOle2Obj*>(_pObj); - if ( pOleObj->GetObjRef().is() ) + if (pOleObj && pOleObj->GetObjRef().is()) { if (m_rView.IsTextEdit()) { |