filter/source/svg/svgexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f900888ba51803d924bb5129978aa891879ecc59
Author: Chr. Rossmanith <chrrossman...@gmx.de>
Date:   Sun Feb 19 21:00:41 2017 +0100

    tdf#105641: no javascript in svg export for selection of objects
    
    Change-Id: I9150449770b7cef0c424277f87a21e00e123b9ea
    Reviewed-on: https://gerrit.libreoffice.org/34432
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Michael Stahl <mst...@redhat.com>

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();
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to