summaryrefslogtreecommitdiff
path: root/scripting/source/provider/ProviderCache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/provider/ProviderCache.cxx')
-rw-r--r--scripting/source/provider/ProviderCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/source/provider/ProviderCache.cxx b/scripting/source/provider/ProviderCache.cxx
index b094e2e224de..d02550e3ea87 100644
--- a/scripting/source/provider/ProviderCache.cxx
+++ b/scripting/source/provider/ProviderCache.cxx
@@ -93,7 +93,7 @@ ProviderCache::getAllProviders() throw ( RuntimeException )
ProviderDetails_hash::iterator h_itEnd = m_hProviderDetailsCache.end();
ProviderDetails_hash::iterator h_it = m_hProviderDetailsCache.begin();
// should assert if size !> 0
- if ( m_hProviderDetailsCache.size() )
+ if ( !m_hProviderDetailsCache.empty() )
{
sal_Int32 providerIndex = 0;
sal_Int32 index = 0;