summaryrefslogtreecommitdiff
path: root/stoc/source/proxy_factory/proxyfac.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/proxy_factory/proxyfac.cxx')
-rw-r--r--stoc/source/proxy_factory/proxyfac.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/proxy_factory/proxyfac.cxx b/stoc/source/proxy_factory/proxyfac.cxx
index 3606be1bd019..1c6c5569f213 100644
--- a/stoc/source/proxy_factory/proxyfac.cxx
+++ b/stoc/source/proxy_factory/proxyfac.cxx
@@ -354,7 +354,7 @@ Any ProxyRoot::queryAggregation( Type const & rType )
static_cast< OWeakObject * >(this), UNO_QUERY_THROW );
OUString oid;
(*cpp_env->getObjectIdentifier)( cpp_env, &oid.pData, xRoot.get() );
- OSL_ASSERT( oid.getLength() > 0 );
+ OSL_ASSERT( !oid.isEmpty() );
(*cpp_env->getRegisteredInterface)(
cpp_env, reinterpret_cast< void ** >( &xProxy ),