summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-09 15:10:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-09 15:10:36 +0100
commit95b25532d24bfb08c4846b991451a36475dd439f (patch)
tree33c714b49c1641729ab71bce1114a6ee9c3d7ecf /forms
parent959496794c8af815c571cab1d53b9f904e198754 (diff)
loplugin: simplifybool
Change-Id: I72579aa32157fb0deec85f28f7ceb4592bcaee4d
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/FormComponent.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx
index db71eba8e285..fc6394a70c24 100644
--- a/forms/source/component/FormComponent.cxx
+++ b/forms/source/component/FormComponent.cxx
@@ -1986,7 +1986,7 @@ void OBoundControlModel::initFromField( const Reference< XRowSet >& _rxRowSet )
const Reference< XPropertySet > xPS(_rxRowSet, UNO_QUERY);
if (xPS.is())
{
- assert(shouldTransfer == false);
+ assert(!shouldTransfer);
xPS->getPropertyValue("IsNew") >>= shouldTransfer;
}
}