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

New commits:
commit b55ce8d777a6fc76325352747b4f556dde3143c9
Author: Samuel Mehrbrodt <samuel.mehrbr...@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 <qui...@gmail.com>
    Tested-by: Jenkins <c...@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(
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to