summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/inc
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/inc')
-rw-r--r--ucb/source/ucp/inc/urihelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/inc/urihelper.hxx b/ucb/source/ucp/inc/urihelper.hxx
index 5e86ccab97ea..ea317b90a44c 100644
--- a/ucb/source/ucp/inc/urihelper.hxx
+++ b/ucb/source/ucp/inc/urihelper.hxx
@@ -104,13 +104,13 @@ namespace ucb_impl { namespace urihelper {
}
while ( nIndex >= 0 );
- if ( aParams.getLength() > 0 )
+ if ( !aParams.isEmpty() )
{
aResult.append( sal_Unicode( '?' ) );
aResult.append( aParams );
}
- if ( aFragment.getLength() > 0 )
+ if ( !aFragment.isEmpty() )
{
aResult.append( sal_Unicode( '#' ) );
aResult.append( aFragment );