summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls/statusindicator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'UnoControls/source/controls/statusindicator.cxx')
-rw-r--r--UnoControls/source/controls/statusindicator.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/UnoControls/source/controls/statusindicator.cxx b/UnoControls/source/controls/statusindicator.cxx
index 03f0a3bd5985..49f76053e63b 100644
--- a/UnoControls/source/controls/statusindicator.cxx
+++ b/UnoControls/source/controls/statusindicator.cxx
@@ -167,7 +167,7 @@ Any SAL_CALL StatusIndicator::queryAggregation( const Type& aType ) throw( Runti
);
// If searched interface not supported by this class ...
- if ( aReturn.hasValue() == sal_False )
+ if ( !aReturn.hasValue() )
{
// ... ask baseclasses.
aReturn = BaseControl::queryAggregation( aType );
@@ -308,7 +308,7 @@ void SAL_CALL StatusIndicator::createPeer (
const css::uno::Reference< XWindowPeer > & rParent
) throw( RuntimeException )
{
- if( getPeer().is() == sal_False )
+ if( !getPeer().is() )
{
BaseContainerControl::createPeer( rToolkit, rParent );
@@ -447,18 +447,18 @@ void StatusIndicator::impl_paint ( sal_Int32 nX, sal_Int32 nY, const css::uno::R
// background = gray
css::uno::Reference< XWindowPeer > xPeer( impl_getPeerWindow(), UNO_QUERY );
- if( xPeer.is() == sal_True )
+ if( xPeer.is() )
xPeer->setBackground( STATUSINDICATOR_BACKGROUNDCOLOR );
// FixedText background = gray
css::uno::Reference< XControl > xTextControl( m_xText, UNO_QUERY );
xPeer = xTextControl->getPeer();
- if( xPeer.is() == sal_True )
+ if( xPeer.is() )
xPeer->setBackground( STATUSINDICATOR_BACKGROUNDCOLOR );
// Progress background = gray
xPeer = m_xProgressBar->getPeer();
- if( xPeer.is() == sal_True )
+ if( xPeer.is() )
xPeer->setBackground( STATUSINDICATOR_BACKGROUNDCOLOR );
// paint shadow border