From 5fd43384a443aee09dd4c98ffd79572f44f13000 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 28 Jun 2014 14:29:34 +0100 Subject: configmgr: accelerate getPropertyValue. Change-Id: Ie0460c8db6b1e7fcc9bab1f5e9ae1fbd00987994 --- configmgr/source/access.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'configmgr/source/access.cxx') 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( -- cgit LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-26 16:37:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-26 16:39:26 +0100
commit70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch)
treea70f4957c454b443520cbf91250c41d9eea80017 /drawinglayer/source/primitive2d
parent8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff)
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a