diff options
Diffstat (limited to 'configmgr/source/access.cxx')
-rw-r--r-- | configmgr/source/access.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx index 6aeabb41abab..7402897335eb 100644 --- a/configmgr/source/access.cxx +++ b/configmgr/source/access.cxx @@ -734,12 +734,12 @@ css::uno::Any Access::getPropertyValue(OUString const & PropertyName) { assert(thisIs(IS_GROUP)); osl::MutexGuard g(*lock_); - rtl::Reference< ChildAccess > child(getChild(PropertyName)); - if (!child.is()) { + + css::uno::Any value; + if (!getByNameFast(PropertyName, value)) throw css::beans::UnknownPropertyException( PropertyName, static_cast< cppu::OWeakObject * >(this)); - } - return child->asValue(); + return value; } void Access::addPropertyChangeListener( |