From 8778a3e03945f5bafabb0274e3bd79aab6ee92f4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 9 Aug 2016 10:54:11 +0300 Subject: Surround PaintScope code with ifdefs matching declaration in include file Change-Id: Iede85fc847b330b5586b95facafb690df7209d1b --- vcl/source/opengl/OpenGLHelper.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vcl/source/opengl/OpenGLHelper.cxx b/vcl/source/opengl/OpenGLHelper.cxx index 86428447b995..d90400997469 100644 --- a/vcl/source/opengl/OpenGLHelper.cxx +++ b/vcl/source/opengl/OpenGLHelper.cxx @@ -1072,6 +1072,8 @@ void OpenGLHelper::debugMsgPrint(const int nType, const char *pFormat, ...) va_end (aArgs); } +#if HAVE_FEATURE_OPENGL || defined(ANDROID) + OutputDevice::PaintScope::PaintScope(OutputDevice *pDev) : pHandle( nullptr ) { @@ -1108,4 +1110,6 @@ OutputDevice::PaintScope::~PaintScope() flush(); } +#endif + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit