summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoxml/source/xpath/xpathapi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx
index cd3b915b1606..345623241a3f 100644
--- a/unoxml/source/xpath/xpathapi.cxx
+++ b/unoxml/source/xpath/xpathapi.cxx
@@ -132,7 +132,7 @@ namespace XPath
ouri = OUStringToOString(i->second, RTL_TEXTENCODING_UTF8);
xmlChar const *p = reinterpret_cast<xmlChar const *>(oprefix.getStr());
xmlChar const *u = reinterpret_cast<xmlChar const *>(ouri.getStr());
- xmlXPathRegisterNs(ctx, p, u);
+ (void)xmlXPathRegisterNs(ctx, p, u);
++i;
}
}