summaryrefslogtreecommitdiff
path: root/vcl/source/components/factory.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-04 13:53:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-04 13:53:26 +0100
commit64c7d47de69e2e7a249556d9322d40104fed72c1 (patch)
tree038e616cff12c75df60011103c2fb1a7e338e46a /vcl/source/components/factory.cxx
parente484593e2c3ef4005840bb409c76f40a6d2d57fd (diff)
conditionalize this for librsvg
Diffstat (limited to 'vcl/source/components/factory.cxx')
-rw-r--r--vcl/source/components/factory.cxx2
1 files changed, 2 insertions, 0 deletions
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();