summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetbase.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index f284be50e91d..7a7f93555a7d 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -410,7 +410,7 @@ ResultSetBase::queryContentIdentifier(
if( 0 <= m_nRow && sal::static_int_cast<sal_uInt32>( m_nRow ) < m_aItems.size() )
{
rtl::OUString url = queryContentIdentifierString();
- if( ! m_aIdents[m_nRow].is() && url.getLength() )
+ if( ! m_aIdents[m_nRow].is() && !url.isEmpty() )
m_aIdents[m_nRow] = uno::Reference< ucb::XContentIdentifier >(
new ::ucbhelper::ContentIdentifier( m_xMSF,url ) );
return m_aIdents[m_nRow];