coverity#735545 Logically dead code
Change-Id: Ifa1bc627da203575b36e7e944c66b945f813016d
This commit is contained in:
parent
6384ca9e49
commit
be756e2ca3
1 changed files with 3 additions and 5 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue