Kaydet (Commit) 12c2bbc3 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Report nil-valued localized property as such

...regression introduced with 879aa54e
"configmgr: accelerate simple config key fetches."

Change-Id: Ifb732a25d902f58c76e06ebaad3a6178ff102f58
üst 09b637e3
...@@ -269,8 +269,7 @@ css::uno::Any ChildAccess::asValue() ...@@ -269,8 +269,7 @@ css::uno::Any ChildAccess::asValue()
rtl::Reference< ChildAccess > child(getChild("*" + locale)); rtl::Reference< ChildAccess > child(getChild("*" + locale));
// As a last resort, return a nil value even though it may be // As a last resort, return a nil value even though it may be
// illegal for the given property: // illegal for the given property:
if (child.is()) return child.is() ? child->asValue() : css::uno::Any();
return child->asValue();
} }
} }
value = css::uno::makeAny( value = css::uno::makeAny(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment