diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 12:36:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-26 12:39:03 +0100 |
commit | c4ecd6c49307127823375b8ed6e3033441325015 (patch) | |
tree | 90ca4aef723b35fa2492223d7726ce7a63d92b43 /comphelper | |
parent | e6e409b684f9b046dcde9f0615018508f769c369 (diff) |
That SB variable was a temporary debugging aid
...inadvertently checked in with 7bcf64c29a0f5d3d2d60fe98afadab6e48dbe8b3 "Add
isReadOnly() support to simplified configuration access"
Change-Id: I9b8b477f682605fcdcf65f8e1255524d010495be
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/configuration.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx index 69b4aea5f1a9..5d14d6772591 100644 --- a/comphelper/source/misc/configuration.cxx +++ b/comphelper/source/misc/configuration.cxx @@ -128,8 +128,10 @@ comphelper::detail::ConfigurationWrapper::~ConfigurationWrapper() {} bool comphelper::detail::ConfigurationWrapper::isReadOnly(OUString const & path) const { - css::beans::Property SB(access_->getPropertyByHierarchicalName(path)); - return (SB.Attributes & css::beans::PropertyAttribute::READONLY) != 0; + return + (access_->getPropertyByHierarchicalName(path).Attributes + & css::beans::PropertyAttribute::READONLY) + != 0; } css::uno::Any comphelper::detail::ConfigurationWrapper::getPropertyValue( |