summaryrefslogtreecommitdiff
path: root/filter/source
diff options
context:
space:
mode:
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;