Kaydet (Commit) 5ca465c9 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1213306 Dereference before null check

Change-Id: I0ea0731b96ba9483986240ab69a5fd4e728bfae1
üst f5177e43
......@@ -215,7 +215,7 @@ void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, bool bViewOnly
if ( !GetViewFrame()->GetFrame().IsInPlace() && !bViewOnly )
{
const bool bWeb = 0 != PTR_CAST(SwWebView, this);
const bool bWeb = this->ISA(SwWebView);
SwMasterUsrPref *pUsrPref = (SwMasterUsrPref*)SW_MOD()->GetUsrPref(bWeb);
// Update MasterUsrPrefs and after that update the ViewOptions of the current View.
......
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