summaryrefslogtreecommitdiff
path: root/sw/inc/viewopt.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-17 20:45:17 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-17 20:45:21 +0300
commitad55d4e904634871c75a7007801c1b700bcb7ca3 (patch)
tree524b418a1f70258ccca834fb77a4b0b9ba113e98 /sw/inc/viewopt.hxx
parentcce7939a166bbf9713ea06bcd3901dfaf162126d (diff)
Bin --enable-desktop-gui-elements
Nobody wants LO's own widgets in a touch / mobile app after all. Change-Id: I84f1e85cebce80b6ff4ec5e4e3254654b5f5e6ec
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 b205f1e481b3..3a91d57f0e19 100644
--- a/sw/inc/viewopt.hxx
+++ b/sw/inc/viewopt.hxx
@@ -446,7 +446,7 @@ public:
sal_Bool IsViewVScrollBar() const
{
-#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
+#if HAVE_FEATURE_DESKTOP
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_GUI_ELEMENTS
+#if HAVE_FEATURE_DESKTOP
return nUIOptions & VIEWOPT_2_HSCROLLBAR ? sal_True : sal_False;
#else
return sal_False;
@@ -501,7 +501,7 @@ public:
sal_Bool IsViewAnyRuler() const
{
-#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
+#if HAVE_FEATURE_DESKTOP
return 0 != (nUIOptions & VIEWOPT_2_ANY_RULER);
#else
return sal_False;
@@ -512,7 +512,7 @@ public:
sal_Bool IsViewHRuler(sal_Bool bDirect = sal_False) const
{
-#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
+#if HAVE_FEATURE_DESKTOP
sal_Bool bRet = sal::static_int_cast< sal_Bool >( bDirect ?
0 != (nUIOptions & VIEWOPT_2_H_RULER) :
!bReadonly ?
@@ -529,7 +529,7 @@ public:
sal_Bool IsViewVRuler(sal_Bool bDirect = sal_False) const
{
-#if HAVE_FEATURE_DESKTOP_GUI_ELEMENTS
+#if HAVE_FEATURE_DESKTOP
sal_Bool bRet = sal::static_int_cast< sal_Bool >( bDirect ?
0 !=(nUIOptions & VIEWOPT_2_V_RULER) :
!bReadonly ?