summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-05-10 12:12:23 +0200
committerTomaž Vajngerl <quikee@gmail.com>2018-05-10 16:05:39 +0200
commitb55ce8d777a6fc76325352747b4f556dde3143c9 (patch)
treece5c254b3fc909fab043162d1cc471c5cf887891 /xmloff
parent23a32cf68d624857fbe21a6c2634c50a2977b6b7 (diff)
Only write signatureline element if ODF version > 1.2
Change-Id: I28769e8e3f4d5a0daa54fa188a9aec56c31120ca Reviewed-on: https://gerrit.libreoffice.org/54074 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx3
1 files changed, 2 insertions, 1 deletions
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(