[Libreoffice-commits] .: filter/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 23 23:18:20 PST 2012
filter/source/svg/svgfilter.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 05bb624ca75f9960c7b5a5f8c02b4e7b011585e8
Author: Tor Lillqvist <tml at iki.fi>
Date: Fri Nov 23 21:12:39 2012 +0200
Try to get rid of the SVG export code when DISABLE_EXPORT
Change-Id: I89d226a8442558fbdff84de2115fa013c1690239
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx
index b5b4584..bbe2a3c 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;
More information about the Libreoffice-commits
mailing list