summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-31 23:10:05 +0300
committerTor Lillqvist <tml@collabora.com>2014-03-31 23:10:35 +0300
commit17e2d6982cee17888f97e1d268186e297a6c5dbd (patch)
tree066cfddbc477dc3172453f7c9d7d5413acfad01a
parent092f498fb3dd4f89ab43c0c76930ecc42a2900d4 (diff)
Need to define mnContextStackDepth always it seems
Change-Id: I25d86e2765aae353fa5586244f33728cd5b55bbc
-rw-r--r--vcl/inc/headless/svpgdi.hxx6
-rw-r--r--vcl/inc/quartz/salgdi.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index 987c2e4baecd..028d71cf7a0f 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -89,10 +89,8 @@ public:
CGLayerRef mxLayer;
// mirror AquaSalVirtualDevice::mbForeignContext for SvpSalGraphics objects related to such
bool mbForeignContext;
- CGContextRef mrContext;
-#if OSL_DEBUG_LEVEL > 0
- int mnContextStackDepth;
-#endif
+ CGContextRef mrContext;
+ int mnContextStackDepth;
class XorEmulation* mpXorEmulation;
int mnXorMode; // 0: off 1: on 2: invert only
int mnWidth;
diff --git a/vcl/inc/quartz/salgdi.h b/vcl/inc/quartz/salgdi.h
index c009c56e388b..722d368a5ffc 100644
--- a/vcl/inc/quartz/salgdi.h
+++ b/vcl/inc/quartz/salgdi.h
@@ -158,9 +158,7 @@ protected:
AquaSalFrame* mpFrame;
CGLayerRef mxLayer; // Quartz graphics layer
CGContextRef mrContext; // Quartz drawing context
-#if OSL_DEBUG_LEVEL > 0
int mnContextStackDepth;
-#endif
class XorEmulation* mpXorEmulation;
int mnXorMode; // 0: off 1: on 2: invert only
int mnWidth;