summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/uiview/view.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx
index 84c269959f3c..e4858ab52546 100644
--- a/sw/source/ui/uiview/view.cxx
+++ b/sw/source/ui/uiview/view.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
#include <string>
#include <stdlib.h>
@@ -960,11 +961,12 @@ 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());
2016-08-04No QuickTime in the 10.12 SDKTor Lillqvist 2016-08-04loplugin:countusersofdefaultparams in accessibility,avmediaNoel Grandin 2016-08-04tdf#88205 Adapt uses of css::uno::Sequence to use initializer_list ctorMuhammet Kara 2016-08-03Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusionTor Lillqvist 2016-07-12new loplugin fragiledestructorNoel Grandin 2016-06-07Resolves: tdf#100258 crash on disposing media playerCaolán McNamara