diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-12-04 13:28:09 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-12-04 13:30:36 +0200 |
commit | 16d0e0b8077de0cb67e312b1b7397fd8ab7d03d8 (patch) | |
tree | 4c2fa5e64530181f358deb5cfd8c8f33ac2cb467 /svx/source/sdr | |
parent | e5ed703b833d881b05a71808a5fc2f51903fd1c0 (diff) |
HAVE_FEATURE_DESKTOP is always defined, it is 0 or 1
One should not use #ifdef (or #if defined) on the macros from
<config_features.h>.
Fix mistake introduced in 663a8c79700da18e45ed5f69391f5fc1f2406229.
Diffstat (limited to 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/contact/objectcontactofpageview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx index 4722632ecba2..e2a13579a15a 100644 --- a/svx/source/sdr/contact/objectcontactofpageview.cxx +++ b/svx/source/sdr/contact/objectcontactofpageview.cxx @@ -243,7 +243,7 @@ namespace sdr updateViewInformation2D(aNewViewInformation2D); drawinglayer::primitive2d::Primitive2DSequence xPrimitiveSequence; -#if defined( HAVE_FEATURE_DESKTOP ) || defined( ANDROID ) +#if HAVE_FEATURE_DESKTOP || defined( ANDROID ) // get whole Primitive2DSequence; this will already make use of updated ViewInformation2D // and may use the MapMode from the Target OutDev in the DisplayInfo xPrimitiveSequence = rDrawPageVOContact.getPrimitive2DSequenceHierarchy(rDisplayInfo); |