diff options
Diffstat (limited to 'ucb/source/ucp/cmis/cmis_repo_content.cxx')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 44ef2785c93d..c3e605950a2b 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -54,9 +54,7 @@ namespace cmis SAL_INFO( "ucb.ucp.cmis", "RepoContent::RepoContent() " << sURL ); m_sRepositoryId = m_aURL.getObjectPath( ); - if ( m_sRepositoryId[0] == '/' ) - m_sRepositoryId = m_sRepositoryId.copy( 1 ); - + m_sRepositoryId.startsWith("/", &m_sRepositoryId); } RepoContent::~RepoContent() |