[Libreoffice-bugs] [Bug 113841] Assertion failed in SvXMLNamespaceMap::GetQNameByKey when opening a certain XLSX, and ODF format version is set to 1.2 (strict)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 30 11:06:09 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=113841

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel at t-online.de

--- Comment #7 from Julien Nabet <serval2412 at yahoo.fr> ---
Regina: according to the bt, the problem seems due to
legend-expansion-aspect-ratio.
Indeed, this patch prevents from having the assert:
diff --git a/xmloff/source/chart/SchXMLExport.cxx
b/xmloff/source/chart/SchXMLExport.cxx
index 1e59110e84b8..b694d65abf7e 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -1372,7 +1372,7 @@ void SchXMLExportHelper_Impl::parseDocument( Reference<
chart::XChartDocument >

                 // export legend size
                 const SvtSaveOptions::ODFDefaultVersion nCurrentODFVersion(
SvtSaveOptions().GetODFDefaultVersion() );
-                if( xLegendShape.is() && nCurrentODFVersion >=
SvtSaveOptions::ODFVER_012 )
+                if( xLegendShape.is() && nCurrentODFVersion >
SvtSaveOptions::ODFVER_012 )
                 {
                     try
                     {


but this attribute should be ok in ODF1.2 according to 
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1417936_253892949

Did I miss something?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181230/a3d0f78a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list