summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-04-23 16:58:59 +0100
committerMichael Meeks <michael.meeks@suse.com>2012-04-23 17:00:11 +0100
commitb0547b358b2262a7f75b932ba37f35155a5c2406 (patch)
tree71e093afd3a1a4cb0054ccd7058458006682bd65 /canvas
parent86a85224bcf3191254a4372085cac0ac040c883a (diff)
bomb out compilation of cairo canvas for mac or windows
This is to avoid unintended regressions based on configure options.
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/cairo/cairo_services.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/canvas/source/cairo/cairo_services.cxx b/canvas/source/cairo/cairo_services.cxx
index dfb694f01576..f9ca5d64a8b6 100644
--- a/canvas/source/cairo/cairo_services.cxx
+++ b/canvas/source/cairo/cairo_services.cxx
@@ -46,6 +46,10 @@
using namespace ::com::sun::star;
+#if defined(WNT) || defined (MACOSX)
+# error "The cairo canvas should not be enabled on Windows or Mac cf fdo#46901"
+#endif
+
namespace cairocanvas
{
static uno::Reference<uno::XInterface> initCanvas( Canvas* pCanvas )