diff options
Diffstat (limited to 'chart2/source/controller/main/ObjectHierarchy.cxx')
-rw-r--r-- | chart2/source/controller/main/ObjectHierarchy.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/main/ObjectHierarchy.cxx b/chart2/source/controller/main/ObjectHierarchy.cxx index d059c1ab2234..14158baf57fd 100644 --- a/chart2/source/controller/main/ObjectHierarchy.cxx +++ b/chart2/source/controller/main/ObjectHierarchy.cxx @@ -96,7 +96,7 @@ void lcl_getChildOIDs( if( xInfo.is() && xInfo->hasPropertyByName( C2U("Name")) && (xShapeProp->getPropertyValue( C2U("Name")) >>= aName ) && - aName.getLength() > 0 && + !aName.isEmpty() && ::chart::ObjectIdentifier::isCID( aName )) { rOutChildren.push_back( ::chart::ObjectIdentifier( aName ) ); |