sw/qa/extras/ooxmlexport/ooxmlexport.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0d1e734739cb4e8deaf0dc5d412fbe8d6745e1b1
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Tue Dec 17 16:36:16 2013 +0100

    CppunitTest_sw_ooxmlexport: handle mc namespace in assertions
    
    Change-Id: I17c8e5b4716652585d5612a4796140e7f54aaddb

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 
b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index aede328..8759f61 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -134,6 +134,7 @@ xmlNodeSetPtr Test::getXPathNode(xmlDocPtr pXmlDoc, const 
OString& rXPath)
     xmlXPathContextPtr pXmlXpathCtx = xmlXPathNewContext(pXmlDoc);
     xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("w"), 
BAD_CAST("http://schemas.openxmlformats.org/wordprocessingml/2006/main";));
     xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("v"), 
BAD_CAST("urn:schemas-microsoft-com:vml"));
+    xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("mc"), 
BAD_CAST("http://schemas.openxmlformats.org/markup-compatibility/2006";));
     xmlXPathObjectPtr pXmlXpathObj = 
xmlXPathEvalExpression(BAD_CAST(rXPath.getStr()), pXmlXpathCtx);
     return pXmlXpathObj->nodesetval;
 }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to