From 64c7d47de69e2e7a249556d9322d40104fed72c1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 4 Jul 2011 13:53:26 +0100 Subject: conditionalize this for librsvg --- vcl/source/components/factory.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/source/components/factory.cxx') diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx index f4665832a9a8..de76b6e84c58 100644 --- a/vcl/source/components/factory.cxx +++ b/vcl/source/components/factory.cxx @@ -144,12 +144,14 @@ extern "C" { xMgr, vcl::DropTarget_getImplementationName(), vcl::DropTarget_createInstance, vcl::DropTarget_getSupportedServiceNames() ); } +#ifdef ENABLE_LIBRSVG else if( vcl::rsvg::Rasterizer_getImplementationName().equalsAscii( pImplementationName ) ) { xFactory = ::cppu::createSingleFactory( xMgr, vcl::rsvg::Rasterizer_getImplementationName(), vcl::rsvg::Rasterizer_createInstance, vcl::rsvg::Rasterizer_getSupportedServiceNames() ); } +#endif if( xFactory.is() ) { xFactory->acquire(); -- cgit v1.2.3