Kaydet (Commit) 6af23840 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#40466: Make sure we have the same numbers of URI's and Id's.

This caused an immediate crash when trying to import xlsx documents
with charts on Windows.  No idea why this didn't crash on Linux,
even valgrind's memcheck didn't pick it up.
üst 6825533b
...@@ -146,7 +146,9 @@ namespace ...@@ -146,7 +146,9 @@ namespace
"http://schemas.openxmlformats.org/spreadsheetml/2006/main", "http://schemas.openxmlformats.org/spreadsheetml/2006/main",
"http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing", "http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing",
"http://schemas.microsoft.com/office/excel/2006/main", "http://schemas.microsoft.com/office/excel/2006/main",
"http://schemas.openxmlformats.org/presentationml/2006/main" "http://schemas.openxmlformats.org/presentationml/2006/main",
"http://schemas.openxmlformats.org/markup-compatibility/2006",
"http://schemas.openxmlformats.org/spreadsheetml/2006/main/v2"
}; };
static const sal_Int32 namespaceIds[] = { static const sal_Int32 namespaceIds[] = {
...@@ -168,7 +170,7 @@ namespace ...@@ -168,7 +170,7 @@ namespace
NMSP_ax, NMSP_ax,
NMSP_xm, NMSP_xm,
NMSP_mce, NMSP_mce,
NMSP_mceTest, NMSP_mceTest
}; };
Sequence< Pair< OUString, sal_Int32 > > aRet(STATIC_ARRAY_SIZE(namespaceIds)); Sequence< Pair< OUString, sal_Int32 > > aRet(STATIC_ARRAY_SIZE(namespaceIds));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment