diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-05-09 15:10:36 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-05-09 15:10:36 +0100 |
commit | 95b25532d24bfb08c4846b991451a36475dd439f (patch) | |
tree | 33c714b49c1641729ab71bce1114a6ee9c3d7ecf /forms | |
parent | 959496794c8af815c571cab1d53b9f904e198754 (diff) |
loplugin: simplifybool
Change-Id: I72579aa32157fb0deec85f28f7ceb4592bcaee4d
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/FormComponent.cxx | 2 |
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; } } |