Kaydet (Commit) 4591a137 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:simplifybool

Change-Id: I5d904726bdfec1f2bfa5798e9fd82a5ac61f461a
üst 6e8a81e5
......@@ -69,7 +69,7 @@ IMPL_LINK( PluginConnector, NewMessageHdl, Mediator*, /*pMediator*/ )
osl::MutexGuard aGuard( m_aUserEventMutex );
bool bFound = false;
for( std::vector< PluginConnector* >::iterator it = allConnectors.begin();
it != allConnectors.end() && bFound == false; ++it )
it != allConnectors.end() && !bFound; ++it )
{
if( *it == this )
bFound = true;
......@@ -84,7 +84,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ )
{
bool bFound = false;
for( std::vector< PluginConnector* >::iterator it = allConnectors.begin();
it != allConnectors.end() && bFound == false; ++it )
it != allConnectors.end() && !bFound; ++it )
{
if( *it == this )
bFound = true;
......
......@@ -1301,7 +1301,7 @@ void UpdateHandler::createDialog()
uno::Reference< awt::XUnoControlDialog > xControl = awt::UnoControlDialog::create( mxContext );
xControl->setModel( xControlModel );
if ( mbVisible == false )
if ( !mbVisible )
{
xControl->setVisible( false );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment