fdo#69028 Set PropertyAttribute::READONLY for finalized configmgr props
...thanks to Andras for pointing me to the problem Change-Id: I98786e8fe3159426b7e4c8b5345be500be2fc87b
This commit is contained in:
@@ -2167,9 +2167,10 @@ css::beans::Property Access::asProperty() {
|
|||||||
(css::beans::PropertyAttribute::BOUND | //TODO: correct for group/set?
|
(css::beans::PropertyAttribute::BOUND | //TODO: correct for group/set?
|
||||||
css::beans::PropertyAttribute::CONSTRAINED |
|
css::beans::PropertyAttribute::CONSTRAINED |
|
||||||
(nillable ? css::beans::PropertyAttribute::MAYBEVOID : 0) |
|
(nillable ? css::beans::PropertyAttribute::MAYBEVOID : 0) |
|
||||||
(getRootAccess()->isUpdate()
|
(getRootAccess()->isUpdate() && removable
|
||||||
? (removable ? css::beans::PropertyAttribute::REMOVABLE : 0)
|
? css::beans::PropertyAttribute::REMOVABLE : 0) |
|
||||||
: css::beans::PropertyAttribute::READONLY))); //TODO: MAYBEDEFAULT
|
(!getRootAccess()->isUpdate() || p->getFinalized() != Data::NO_LAYER
|
||||||
|
? css::beans::PropertyAttribute::READONLY : 0))); //TODO: MAYBEDEFAULT
|
||||||
}
|
}
|
||||||
|
|
||||||
void Access::checkFinalized() {
|
void Access::checkFinalized() {
|
||||||
|
Reference in New Issue
Block a user