diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 14:08:04 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 14:26:26 +0200 |
commit | 7bcf64c29a0f5d3d2d60fe98afadab6e48dbe8b3 (patch) | |
tree | dd7791b6390b8587e81b79dda2547eb6a67db34a /configmgr | |
parent | f14e4cffcc757a4fcf1875d638ef8df4acd5bc27 (diff) |
Add isReadOnly() support to simplified configuration access
[API CHANGE]: extends the css.configuration.XReadWriteAccess in an incompatible
way, but that is unpublished, has been commented as "still unpublished and
unstable," and was specifically introduced for internal use by the simplified
configuration access, so should not affect 3rd party code.
Change-Id: I99ce045f5bd8c598e689d46fb0d3626dfaa6d0a0
Diffstat (limited to 'configmgr')
-rw-r--r-- | configmgr/source/readwriteaccess.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/configmgr/source/readwriteaccess.cxx b/configmgr/source/readwriteaccess.cxx index e503d9d556fe..19f0eb4a09b9 100644 --- a/configmgr/source/readwriteaccess.cxx +++ b/configmgr/source/readwriteaccess.cxx @@ -104,6 +104,19 @@ private: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE { return getRoot()->getPendingChanges(); } + css::beans::Property SAL_CALL getPropertyByHierarchicalName( + OUString const & aHierarchicalName) + throw ( + css::beans::UnknownPropertyException, css::uno::RuntimeException, + std::exception) + SAL_OVERRIDE + { return getRoot()->getPropertyByHierarchicalName(aHierarchicalName); } + + sal_Bool SAL_CALL hasPropertyByHierarchicalName( + OUString const & aHierarchicalName) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE + { return getRoot()->hasPropertyByHierarchicalName(aHierarchicalName); } + rtl::Reference< RootAccess > getRoot(); css::uno::Reference< css::uno::XComponentContext > context_; |