summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml')
-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 b010c6b61341..9fa2e6fd2cad 100644
--- a/unoxml/source/xpath/xpathapi.cxx
+++ b/unoxml/source/xpath/xpathapi.cxx
@@ -49,7 +49,7 @@ namespace XPath
// factory
Reference< XInterface > CXPathAPI::_getInstance(const Reference< XMultiServiceFactory >& rSMgr)
{
- return Reference< XInterface >(static_cast<XXPathAPI*>(new CXPathAPI(rSMgr)));
+ return static_cast<XXPathAPI*>(new CXPathAPI(rSMgr));
}
// ctor