summaryrefslogtreecommitdiff
path: root/xmlhelp/source/treeview/tvfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/treeview/tvfactory.cxx')
-rw-r--r--xmlhelp/source/treeview/tvfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/treeview/tvfactory.cxx b/xmlhelp/source/treeview/tvfactory.cxx
index 3a6bcbe09c80..6f8ca210c424 100644
--- a/xmlhelp/source/treeview/tvfactory.cxx
+++ b/xmlhelp/source/treeview/tvfactory.cxx
@@ -188,7 +188,7 @@ TVFactory::createInstanceWithArguments(
break;
}
- if( hierview.getLength() )
+ if( !hierview.isEmpty() )
{
Reference< XHierarchicalNameAccess > xhieraccess( m_xHDS,UNO_QUERY );
Any aAny = xhieraccess->getByHierarchicalName( hierview );