diff options
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r-- | cppuhelper/source/component_context.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index 97a1f7222d97..da60e39152b7 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -593,7 +593,7 @@ Any ComponentContext::lookupMap( OUString const & rName ) { OUString serviceName; if ((usesService >>= serviceName) && - serviceName.getLength()) + !serviceName.isEmpty()) { xInstance = args.getLength() ? m_xSMgr->createInstanceWithArgumentsAndContext( |