summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-23 21:12:39 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-11-24 09:07:56 +0200
commit05bb624ca75f9960c7b5a5f8c02b4e7b011585e8 (patch)
treeeb566ca325c043455968fdbfb5facc5b5eef5b5b /filter/source
parent79abef83e1356fcadc1c647c181b1f81531c0818 (diff)
Try to get rid of the SVG export code when DISABLE_EXPORT
Change-Id: I89d226a8442558fbdff84de2115fa013c1690239
Diffstat (limited to 'filter/source')
-rw-r--r--filter/source/svg/svgfilter.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index b5b45840b132..bbe2a3c35dfd 100644
--- a/filter/source/svg/svgfilter.cxx
+++ b/filter/source/svg/svgfilter.cxx
@@ -92,6 +92,7 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
if( mxDstDoc.is() )
bRet = implImport( rDescriptor );
+#ifndef DISABLE_EXPORT
else if( mxSrcDoc.is() )
{
if( !mbExportAll && !mSelectedPages.hasElements() )
@@ -233,6 +234,7 @@ sal_Bool SAL_CALL SVGFilter::filter( const Sequence< PropertyValue >& rDescripto
bRet = implExport( rDescriptor );
}
+#endif
else
bRet = sal_False;