diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-27 11:35:40 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-27 11:36:03 +0200 |
commit | a8c3c673eaec987e9fe47123f60e5f9d34a4e93f (patch) | |
tree | addc0a07ffb5430f6a2c74e4cb599bd1f3de41dd /sw | |
parent | 556fe2c6128a32233b411a85c54177e1d5be1e0d (diff) |
Use <config_features.h> instead of -DLIBO_FEATURE_*
Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uiview/viewport.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/uiview/viewport.cxx b/sw/source/ui/uiview/viewport.cxx index 1550da73cde2..586016e9e1ee 100644 --- a/sw/source/ui/uiview/viewport.cxx +++ b/sw/source/ui/uiview/viewport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> #include "hintids.hxx" #include <vcl/help.hxx> @@ -1056,7 +1057,7 @@ void SwView::OuterResizePixel( const Point &rOfst, const Size &rSize ) return; m_bInOuterResizePixel = sal_True; -#ifdef LIBO_FEATURE_DESKTOP +#if HAVE_FEATURE_DESKTOP // feststellen, ob Scrollbars angezeigt werden duerfen sal_Bool bShowH = sal_True, bShowV = sal_True, @@ -1203,7 +1204,7 @@ void SwView::SetZoomFactor( const Fraction &rX, const Fraction &rY ) sal_Bool SwView::UpdateScrollbars() { -#ifndef LIBO_FEATURE_DESKTOP +#if !HAVE_FEATURE_DESKTOP return sal_True; #else sal_Bool bRet = sal_False; |