Kaydet (Commit) 4598bbe4 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1223089 Dereference before null check

Change-Id: I790a7bed0a2ac77c452638349008f4a34fd4ad0c
üst 04a4671b
...@@ -678,7 +678,7 @@ bool View::SdrBeginTextEdit( ...@@ -678,7 +678,7 @@ bool View::SdrBeginTextEdit(
SdrOutliner* pOutl, OutlinerView* pGivenOutlinerView, SdrOutliner* pOutl, OutlinerView* pGivenOutlinerView,
bool bDontDeleteOutliner, bool bOnlyOneView, bool bGrabFocus ) bool bDontDeleteOutliner, bool bOnlyOneView, bool bGrabFocus )
{ {
SdrPage* pPage = pObj->GetPage(); SdrPage* pPage = pObj ? pObj->GetPage() : NULL;
bool bMasterPage = pPage && pPage->IsMasterPage(); bool bMasterPage = pPage && pPage->IsMasterPage();
GetViewShell()->GetViewShellBase().GetEventMultiplexer()->MultiplexEvent( GetViewShell()->GetViewShellBase().GetEventMultiplexer()->MultiplexEvent(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment