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

loplugin:simplifybool

Change-Id: I1ad92d1496759007f770b86f9d24e322b3ae194b
üst 891c80e1
......@@ -79,7 +79,7 @@ Any SAL_CALL OComponentEnumeration::nextElement() throw( NoSuchElementExcepti
SolarMutexGuard g;
// If we have no elements or end of enumeration is arrived ...
if ( hasMoreElements() == sal_False )
if ( !hasMoreElements() )
{
// .. throw an exception!
throw NoSuchElementException();
......
......@@ -733,10 +733,7 @@ void SAL_CALL Frame::setActiveFrame( const css::uno::Reference< css::frame::XFra
// If last active frame was active ...
// but new one is not it ...
// ... set it as active one.
if (
( eActiveState == E_ACTIVE ) &&
( xFrame->isActive() == sal_False )
)
if ( eActiveState == E_ACTIVE && !xFrame->isActive() )
{
xFrame->activate();
}
......
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