summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2017-02-19 21:00:41 +0100
committerMichael Stahl <mstahl@redhat.com>2017-03-27 20:56:50 +0000
commitf900888ba51803d924bb5129978aa891879ecc59 (patch)
tree58af06c057de2e4bc27ed923be79f9451f5ce4f2
parent66997eb1f896eb49e6099c18cfe81981e99e05c6 (diff)
tdf#105641: no javascript in svg export for selection of objects
Change-Id: I9150449770b7cef0c424277f87a21e00e123b9ea Reviewed-on: https://gerrit.libreoffice.org/34432 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--filter/source/svg/svgexport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index 21e4da0fcff6..31c21943d974 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -847,7 +847,7 @@ bool SVGFilter::implExportDocument()
implExportMasterPages( mMasterPageTargets, 0, mMasterPageTargets.size() - 1 );
implExportDrawPages( mSelectedPages, 0, nLastPage );
- if( mbPresentation )
+ if( mbPresentation && !mbExportShapeSelection )
{
implGenerateScript();
}