summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-24 11:44:35 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-24 19:15:54 -0200
commit2727a29e57cdcd5dddc94a829194f88cfc2808ab (patch)
treef9dde390d118c21ab650ee4830aed66c7d86ad19 /xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
parent116f3f2e163327e5494c86fb47853ec2282dd1fe (diff)
Fix for fdo43460 Part XLVI getLength() to isEmpty()
Part XLVI Modules xmlhelp
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];