Kaydet (Commit) 660e72bd authored tarafından Julien Nabet's avatar Julien Nabet

Fix for inefficient checking for 'm_aRepositories' emptiness

Change-Id: I33785ba3b9fb100b1ffb0d0ac78894593bf52ee9
üst 78e35a68
......@@ -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( ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment