summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configmgr/source/access.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/access.cxx b/configmgr/source/access.cxx
index 3075bc0a32f6..1e2d73dafe9c 100644
--- a/configmgr/source/access.cxx
+++ b/configmgr/source/access.cxx
@@ -2209,7 +2209,7 @@ css::beans::Property Access::asProperty() {
(nillable ? css::beans::PropertyAttribute::MAYBEVOID : 0) |
(getRootAccess()->isUpdate() && removable
? css::beans::PropertyAttribute::REMOVABLE : 0) |
- (!getRootAccess()->isUpdate() || p->getFinalized() != Data::NO_LAYER
+ (!getRootAccess()->isUpdate() || isFinalized()
? css::beans::PropertyAttribute::READONLY : 0))); //TODO: MAYBEDEFAULT
}