Kaydet (Commit) 85834e2e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1213305 Dereference before null check

Change-Id: Ib42b50aad0f82f9b6974969ab9a30a4d1efbf46e
üst 5ca465c9
...@@ -80,7 +80,7 @@ void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType, ...@@ -80,7 +80,7 @@ void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType,
long nFac = nFactor; long nFac = nFactor;
bool bWeb = 0 != PTR_CAST(SwWebView, this); const bool bWeb = this->ISA(SwWebView);
SwMasterUsrPref *pUsrPref = (SwMasterUsrPref*)SW_MOD()->GetUsrPref(bWeb); SwMasterUsrPref *pUsrPref = (SwMasterUsrPref*)SW_MOD()->GetUsrPref(bWeb);
const SwPageDesc &rDesc = m_pWrtShell->GetPageDesc( m_pWrtShell->GetCurPageDesc() ); const SwPageDesc &rDesc = m_pWrtShell->GetPageDesc( m_pWrtShell->GetCurPageDesc() );
......
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