diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-04-05 10:25:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-04-07 01:13:36 +0300 |
commit | 2b8be1c679c40d337b485ae7a29516ed7408d479 (patch) | |
tree | 4d5bdea22fdca14d652f84955f4ab029cce1e6af /sw/source/ui | |
parent | 8ed93fef13be39815b452474e9e44bf8b6861ea3 (diff) |
Simplify after 6215c718a5884ed7301b97dc9f7e3f1d1f9ce96c
Change-Id: If0a6296c9b226c479413b475788d0c11d6ee7318
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/uiview/view.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index e4858ab52546..13a577824dfb 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -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()); |