From 05bb624ca75f9960c7b5a5f8c02b4e7b011585e8 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 23 Nov 2012 21:12:39 +0200 Subject: Try to get rid of the SVG export code when DISABLE_EXPORT Change-Id: I89d226a8442558fbdff84de2115fa013c1690239 --- filter/source/svg/svgfilter.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'filter/source') 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; -- cgit