Kaydet (Commit) 6384ca9e authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#735546 Logically dead code

Change-Id: Ibe25db9809ffc9a91e938fd5e02811492b03afc5
üst 9882f773
......@@ -149,11 +149,9 @@ void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType,
(sal_uInt16(nFac) != pUsrPref->GetZoom() ||
sal_uInt8 (eZoomType) != pUsrPref->GetZoomType()) )
{
pUsrPref->SetZoom ( sal_uInt16(nFac) );
pUsrPref->SetZoomType( eZoomType );
SW_MOD()->ApplyUsrPref( *pUsrPref,
bViewOnly ? this: 0,
bViewOnly ? VIEWOPT_DEST_VIEW_ONLY : 0 );
pUsrPref->SetZoom(sal_uInt16(nFac));
pUsrPref->SetZoomType(eZoomType);
SW_MOD()->ApplyUsrPref(*pUsrPref, 0, 0);
pUsrPref->SetModified();
}
if ( pOpt->GetZoom() != (sal_uInt16) nFac )
......
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