summaryrefslogtreecommitdiff
path: root/unoxml/source
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source')
-rw-r--r--unoxml/source/xpath/xpathobject.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoxml/source/xpath/xpathobject.cxx b/unoxml/source/xpath/xpathobject.cxx
index 0272c826b97d..11078401865a 100644
--- a/unoxml/source/xpath/xpathobject.cxx
+++ b/unoxml/source/xpath/xpathobject.cxx
@@ -95,7 +95,7 @@ namespace XPath
{
::osl::MutexGuard const g(m_rMutex);
- return (sal_Bool) xmlXPathCastToBoolean(m_pXPathObj.get());
+ return xmlXPathCastToBoolean(m_pXPathObj.get()) != 0;
}
/**