From 660e72bda2bc7587c6e0f321c82f80310562e451 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sun, 16 Sep 2012 09:20:41 +0200 Subject: Fix for inefficient checking for 'm_aRepositories' emptiness Change-Id: I33785ba3b9fb100b1ffb0d0ac78894593bf52ee9 --- ucb/source/ucp/cmis/cmis_repo_content.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb') 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( ) ); -- cgit