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 663a8c7970.
This commit is contained in:
Tor Lillqvist
2014-12-04 13:28:09 +02:00
parent e5ed703b83
commit 16d0e0b807

View File

@@ -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);