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

coverity#735545 Logically dead code

Change-Id: Ifa1bc627da203575b36e7e944c66b945f813016d
üst 6384ca9e
......@@ -222,11 +222,9 @@ void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, bool bViewOnly
if ( nColumns != pUsrPref->GetViewLayoutColumns() ||
bBookMode != pUsrPref->IsViewLayoutBookMode() )
{
pUsrPref->SetViewLayoutColumns( nColumns );
pUsrPref->SetViewLayoutBookMode( bBookMode );
SW_MOD()->ApplyUsrPref( *pUsrPref,
bViewOnly ? this: 0,
bViewOnly ? VIEWOPT_DEST_VIEW_ONLY : 0 );
pUsrPref->SetViewLayoutColumns(nColumns);
pUsrPref->SetViewLayoutBookMode(bBookMode);
SW_MOD()->ApplyUsrPref(*pUsrPref, 0, 0);
pUsrPref->SetModified();
}
}
......
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