Simplify after 6215c718a5884ed7301b97dc9f7e3f1d1f9ce96c
Change-Id: If0a6296c9b226c479413b475788d0c11d6ee7318
This commit is contained in:
@@ -961,12 +961,11 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
|
||||
m_bVScrollbarEnabled = aUsrPref.IsViewVScrollBar();
|
||||
m_bHScrollbarEnabled = aUsrPref.IsViewHScrollBar();
|
||||
m_pHScrollbar->SetAuto(bBrowse);
|
||||
#if HAVE_FEATURE_DESKTOP
|
||||
if( aUsrPref.IsViewHRuler() )
|
||||
CreateTab();
|
||||
if( aUsrPref.IsViewVRuler() )
|
||||
CreateVRuler();
|
||||
#endif
|
||||
|
||||
m_pWrtShell->SetUIOptions( aUsrPref );
|
||||
m_pWrtShell->SetReadOnlyAvailable( aUsrPref.IsCursorInProtectedArea() );
|
||||
m_pWrtShell->ApplyAccessiblityOptions(SW_MOD()->GetAccessibilityOptions());
|
||||
|
Reference in New Issue
Block a user