summaryrefslogtreecommitdiff
path: root/sw/inc/viewopt.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-02 20:17:20 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-02 20:19:15 +0300
commit7de37ac7d633ba12cd90a38b2255130ef8e88b1a (patch)
tree222bcdd1ffab75bdbc479d6143d9f894792ffec9 /sw/inc/viewopt.hxx
parente8177f99008ee24283e0506e296edb59a16ff8d6 (diff)
Add --enable-desktop-gui-elements to show such even on non-DESKTOP platforms
Not my idea. Change-Id: If4874d97a2035588cd65ded9f281de0c3598b7d7
Diffstat (limited to 'sw/inc/viewopt.hxx')
-rw-r--r--sw/inc/viewopt.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx
index f5c16e4de920..a306bcfd2f46 100644
--- a/sw/inc/viewopt.hxx
+++ b/sw/inc/viewopt.hxx
@@ -446,7 +446,7 @@ public:
sal_Bool IsViewVScrollBar() const
{
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
return nUIOptions & VIEWOPT_2_VSCROLLBAR ? sal_True : sal_False;
#else
return sal_False;
@@ -454,7 +454,7 @@ public:
}
sal_Bool IsViewHScrollBar() const
{
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
return nUIOptions & VIEWOPT_2_HSCROLLBAR ? sal_True : sal_False;
#else
return sal_False;
@@ -497,7 +497,7 @@ public:
sal_Bool IsViewAnyRuler() const
{
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
return 0 != (nUIOptions & VIEWOPT_2_ANY_RULER);
#else
return sal_False;
@@ -508,7 +508,7 @@ public:
sal_Bool IsViewHRuler(sal_Bool bDirect = sal_False) const
{
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
sal_Bool bRet = sal::static_int_cast< sal_Bool >( bDirect ?
0 != (nUIOptions & VIEWOPT_2_H_RULER) :
!bReadonly ?
@@ -525,7 +525,7 @@ public:
sal_Bool IsViewVRuler(sal_Bool bDirect = sal_False) const
{
-#if HAVE_FEATURE_DESKTOP
+#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
sal_Bool bRet = sal::static_int_cast< sal_Bool >( bDirect ?
0 !=(nUIOptions & VIEWOPT_2_V_RULER) :
!bReadonly ?