[Libreoffice-commits] core.git: xmloff/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu May 10 14:06:02 UTC 2018


 xmloff/source/draw/shapeexport.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit b55ce8d777a6fc76325352747b4f556dde3143c9
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Thu May 10 12:12:23 2018 +0200

    Only write signatureline element if ODF version > 1.2
    
    Change-Id: I28769e8e3f4d5a0daa54fa188a9aec56c31120ca
    Reviewed-on: https://gerrit.libreoffice.org/54074
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
    Tested-by: Jenkins <ci at libreoffice.org>

diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 27b6dd486ef0..1295a66163de 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2478,7 +2478,8 @@ void XMLShapeExport::ImpExportGraphicObjectShape(
     ImpExportDescription( xShape ); // #i68101#
 
     // Signature Line - needs to be after the images!
-    ImpExportSignatureLine(xShape);
+    if (GetExport().getDefaultVersion() > SvtSaveOptions::ODFVER_012)
+        ImpExportSignatureLine(xShape);
 }
 
 void XMLShapeExport::ImpExportChartShape(


More information about the Libreoffice-commits mailing list