Kaydet (Commit) 4b9573ba authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:salbool: Automatic rewrite of sal_False/True

Change-Id: Ic3e7658ccfd23fa29af46eac971deac5a0373377
üst 67187c14
......@@ -138,7 +138,7 @@ namespace basprov
{
SolarMutexGuard aGuard;
return sal_False;
return false;
}
......@@ -312,7 +312,7 @@ namespace basprov
{
(void)aName;
return sal_False;
return false;
}
......
......@@ -462,7 +462,7 @@ static const char aResourceResolverPropName[] = "ResourceResolver";
xDialogControl->setModel( rxDialogModel );
// set visible
xDialogControl->setVisible( sal_False );
xDialogControl->setVisible( false );
// get the parent of the dialog control
Reference< XWindowPeer > xPeer;
......
......@@ -134,7 +134,7 @@ public:
{
if ( m_Nodes[ i ]->hasChildNodes() )
{
return sal_True;
return true;
}
}
catch ( Exception& )
......@@ -145,7 +145,7 @@ public:
}
}
return sal_False;
return false;
}
virtual sal_Int16 SAL_CALL getType()
......@@ -229,7 +229,7 @@ public:
virtual sal_Bool SAL_CALL hasChildNodes()
throw ( RuntimeException, std::exception ) override
{
return sal_True;
return true;
}
virtual sal_Int16 SAL_CALL getType()
......@@ -634,7 +634,7 @@ public:
virtual sal_Bool SAL_CALL hasChildNodes()
throw ( RuntimeException, std::exception ) override
{
return sal_True; // will always be user and share
return true; // will always be user and share
}
virtual sal_Int16 SAL_CALL getType()
......
......@@ -449,7 +449,7 @@ sal_Bool SAL_CALL
MasterScriptProvider::hasChildNodes()
throw ( css::uno::RuntimeException, std::exception )
{
return sal_True;
return true;
}
......
......@@ -1013,7 +1013,7 @@ void StringResourcePersistenceImpl::implStoreAtStorage
xProps->setPropertyValue( aPropName, uno::makeAny( aMime ) );
aPropName = "UseCommonStoragePasswordEncryption";
xProps->setPropertyValue( aPropName, uno::makeAny( sal_True ) );
xProps->setPropertyValue( aPropName, uno::makeAny( true ) );
}
Reference< io::XOutputStream > xOutputStream = xElementStream->getOutputStream();
......
......@@ -526,8 +526,8 @@ ReadOnlyEventsNameContainer::hasByName( const OUString& aName ) throw (RuntimeEx
{
EventSupplierHash::const_iterator it = m_hEvents.find( aName );
if ( it == m_hEvents.end() )
return sal_False;
return sal_True;
return false;
return true;
}
class ReadOnlyEventsSupplier : public ::cppu::WeakImplHelper< XScriptEventsSupplier >
......
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