[Libreoffice-commits] core.git: forms/source

Caolán McNamara caolanm at redhat.com
Tue May 9 14:11:27 UTC 2017


 forms/source/component/FormComponent.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 95b25532d24bfb08c4846b991451a36475dd439f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 9 15:10:36 2017 +0100

    loplugin: simplifybool
    
    Change-Id: I72579aa32157fb0deec85f28f7ceb4592bcaee4d

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;
             }
         }


More information about the Libreoffice-commits mailing list