diff options
Diffstat (limited to 'ucb/source/ucp/tdoc/tdoc_uri.cxx')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_uri.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_uri.cxx b/ucb/source/ucp/tdoc/tdoc_uri.cxx index cf7097cee42d..5da084d9de41 100644 --- a/ucb/source/ucp/tdoc/tdoc_uri.cxx +++ b/ucb/source/ucp/tdoc/tdoc_uri.cxx @@ -120,7 +120,7 @@ void Uri::init() const m_aDocId = m_aPath.copy( 1, nSlash - 1 ); } - if ( m_aDocId.getLength() > 0 ) + if ( !m_aDocId.isEmpty() ) { sal_Int32 nSlash = m_aPath.indexOf( '/', 1 ); if ( nSlash != - 1 ) |