summaryrefslogtreecommitdiff
path: root/forms/source/component/CheckBox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/CheckBox.cxx')
-rw-r--r--forms/source/component/CheckBox.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx
index 65178f68ddc4..9910ac26c9bf 100644
--- a/forms/source/component/CheckBox.cxx
+++ b/forms/source/component/CheckBox.cxx
@@ -181,9 +181,7 @@ void SAL_CALL OCheckBoxModel::read(const Reference<css::io::XObjectInputStream>&
bool OCheckBoxModel::DbUseBool()
{
- if ( ! (getReferenceValue().isEmpty() && getNoCheckReferenceValue().isEmpty()) )
- return false;
- return true;
+ return getReferenceValue().isEmpty() && getNoCheckReferenceValue().isEmpty();
}