summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-05-22 10:28:11 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-05-22 10:28:11 +0100
commit51f92027b49da2375c01594e3e193f7fb1e3d2c1 (patch)
tree22670ef25aaea286cdcd96737e7fdab095b7280c
parentf7bcaa98827b086f9e9a541b75654a14cf69e343 (diff)
Fix Windows link issue around missing vtable fn.
Change-Id: I8a9a8c56b91783288e2319ad3a5e9803ab5562d0
-rw-r--r--include/vcl/debugevent.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/debugevent.hxx b/include/vcl/debugevent.hxx
index 56c47ff40f6d..c61f93f9632f 100644
--- a/include/vcl/debugevent.hxx
+++ b/include/vcl/debugevent.hxx
@@ -10,6 +10,8 @@
#ifndef INCLUDED_VCL_DEBUGEVENT_HXX
#define INCLUDED_VCL_DEBUGEVENT_HXX
+#if OSL_DEBUG_LEVEL > 0
+
#include <vcl/dllapi.h>
#include <vcl/timer.hxx>
#include <sal/types.h>
@@ -31,6 +33,8 @@ class VCL_DLLPUBLIC DebugEventInjector : Timer {
static DebugEventInjector *getCreate();
};
+#endif // OSL_DEBUG_LEVEL > 0
+
#endif // INCLUDED_VCL_DEBUGEVENT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */