coverity#1078582 Dereference after null check
Change-Id: I3b972510871f36a3c7877b38d3a012aa88acf4c5
This commit is contained in:
parent
a5a1f885f0
commit
2fc3b4173f
@ -823,7 +823,7 @@ bool DrawDocShell::GotoBookmark(const OUString& rBookmark)
|
||||
}
|
||||
}
|
||||
|
||||
SfxBindings& rBindings = (pDrawViewShell->GetViewFrame()!=NULL
|
||||
SfxBindings& rBindings = ((pDrawViewShell && pDrawViewShell->GetViewFrame()!=NULL)
|
||||
? pDrawViewShell->GetViewFrame()
|
||||
: SfxViewFrame::Current() )->GetBindings();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user