CppunitTest_sc_subsequent_export_test: correct link to namespace x

This fix makes it possible to use assertXPath on VmlDrawing elements.

Change-Id: I6feae279933f18209cda8193f73dec25acee3c71
Reviewed-on: https://gerrit.libreoffice.org/79520
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
Tested-by: László Németh <nemeth@numbertext.org>
This commit is contained in:
Szabolcs Toth
2019-09-25 11:47:08 +02:00
committed by László Németh
parent 02bfb5e22e
commit 1ab80992b8

2
sc/qa/unit/subsequent_export-test.cxx Normal file → Executable file
View File

@@ -381,7 +381,7 @@ void ScExportTest::registerNamespaces(xmlXPathContextPtr& pXmlXPathCtx)
{ BAD_CAST("draw"), BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:drawing:1.0") },
{ BAD_CAST("xlink"), BAD_CAST("http://www.w3c.org/1999/xlink") },
{ BAD_CAST("xdr"), BAD_CAST("http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing") },
{ BAD_CAST("x"), BAD_CAST("http://schemas.openxmlformats.org/spreadsheetml/2006/main") },
{ BAD_CAST("xx"), BAD_CAST("urn:schemas-microsoft-com:office:excel") },
{ BAD_CAST("r"), BAD_CAST("http://schemas.openxmlformats.org/package/2006/relationships") },
{ BAD_CAST("number"), BAD_CAST("urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0") },
{ BAD_CAST("loext"), BAD_CAST("urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0") },