diff options
Diffstat (limited to 'svx/source/form/formcontroller.cxx')
-rw-r--r-- | svx/source/form/formcontroller.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx index 89518e9de4ac..db123f977bb9 100644 --- a/svx/source/form/formcontroller.cxx +++ b/svx/source/form/formcontroller.cxx @@ -2158,8 +2158,9 @@ void FormController::setControlLock(const Reference< XControl > & xControl) // a. if the entire record is locked // b. if the associated field is locked Reference< XBoundControl > xBound(xControl, UNO_QUERY); - if (xBound.is() && (( (bLocked && bLocked != bool(xBound->getLock())) || - !bLocked))) // always uncheck individual fields when unlocking + if (xBound.is() && + ( (bLocked && bLocked != bool(xBound->getLock())) || + !bLocked)) // always uncheck individual fields when unlocking { // there is a data source Reference< XPropertySet > xSet(xControl->getModel(), UNO_QUERY); |