diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2018-12-27 02:08:02 +0100 |
---|---|---|
committer | Regina Henschel <rb.henschel@t-online.de> | 2018-12-28 22:19:07 +0100 |
commit | 928f84e9c041fe1febf1cdffe64cd73471071641 (patch) | |
tree | 1540fc8697347842bfb62c8b54dfb19b8f92ca26 /xmloff/source | |
parent | da03a266826111732e4366d06f4598429f5d7d0d (diff) |
tdf#112480 drawooo:enhanced-path only with ODF ver > 1.2
Saving in ODF 1.2 strict using a debug build crashes in
SvXMLNamespaceMap::GetQNameByKey. A pro build does not crash but
returns the local name without a prefix, which produces the
output reported in Bugzilla.
Change-Id: I497cd4a2861f26616cc9ff0b65ca017834097f75
Reviewed-on: https://gerrit.libreoffice.org/65631
Tested-by: Jenkins
Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
Diffstat (limited to 'xmloff/source')
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index fbbd35f32b41..e1bea5b3debf 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -4100,7 +4100,7 @@ static void ImpExportEnhancedPath( SvXMLExport& rExport, } aStr = aStrBuffer.makeStringAndClear(); rExport.AddAttribute( bExtended ? XML_NAMESPACE_DRAW_EXT : XML_NAMESPACE_DRAW, XML_ENHANCED_PATH, aStr ); - if ( !bExtended && bNeedExtended ) + if ( !bExtended && bNeedExtended && (rExport.getDefaultVersion() > SvtSaveOptions::ODFVER_012) ) ImpExportEnhancedPath( rExport, rCoordinates, rSegments, true ); } |