diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-09-16 09:20:41 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-09-16 09:21:06 +0200 |
commit | 660e72bda2bc7587c6e0f321c82f80310562e451 (patch) | |
tree | 1c42f3dcbb47a9b2c1187c80930846b47b286af9 /ucb | |
parent | 78e35a68b23830debc574431c18f1b7637a513c8 (diff) |
Fix for inefficient checking for 'm_aRepositories' emptiness
Change-Id: I33785ba3b9fb100b1ffb0d0ac78894593bf52ee9
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/cmis/cmis_repo_content.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/cmis/cmis_repo_content.cxx b/ucb/source/ucp/cmis/cmis_repo_content.cxx index 791cf6efdf81..5e384e38e351 100644 --- a/ucb/source/ucp/cmis/cmis_repo_content.cxx +++ b/ucb/source/ucp/cmis/cmis_repo_content.cxx @@ -138,7 +138,7 @@ namespace cmis void RepoContent::getRepositories( const uno::Reference< ucb::XCommandEnvironment > & xEnv ) { - if ( m_aRepositories.size( ) == 0 ) + if ( m_aRepositories.empty() ) { // Get the auth credentials AuthProvider authProvider( xEnv, m_xIdentifier->getContentIdentifier( ), m_aURL.getBindingUrl( ) ); |