diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-06 12:37:38 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-06 12:38:16 +0200 |
commit | c0d037a6ecbd4389abe3ca9e958d8a4ac9e0287e (patch) | |
tree | 617f52ca3be4d2c2f6b5b21fc4ed9a3a8dd1fe77 /forms/source/component/Button.cxx | |
parent | ae92e6e6d5dec81c2e22a51a89f463cae1ac1edb (diff) |
forms: sal_Bool->bool
Change-Id: Ifa15f4ed3107b1075b504f09d2cae69ee38d347a
Diffstat (limited to 'forms/source/component/Button.cxx')
-rw-r--r-- | forms/source/component/Button.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 5ca763ae40fb..550db56c32e3 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -286,7 +286,7 @@ void SAL_CALL OButtonModel::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle sal_Bool SAL_CALL OButtonModel::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw (IllegalArgumentException) { - sal_Bool bModified = sal_False; + bool bModified = false; switch ( _nHandle ) { case PROPERTY_ID_DEFAULT_STATE: @@ -366,7 +366,7 @@ OButtonControl::OButtonControl(const Reference<XComponentContext>& _rxFactory) ,OFormNavigationHelper( _rxFactory ) ,m_nClickEvent( 0 ) ,m_nTargetUrlFeatureId( -1 ) - ,m_bEnabledByPropertyValue( sal_False ) + ,m_bEnabledByPropertyValue( false ) { increment(m_refCount); { @@ -603,10 +603,10 @@ void OButtonControl::startOrStopModelPropertyListening( bool _bStart ) sal_Bool SAL_CALL OButtonControl::setModel( const Reference< XControlModel >& _rxModel ) throw ( RuntimeException, std::exception ) { startOrStopModelPropertyListening( false ); - sal_Bool bResult = OClickableImageBaseControl::setModel( _rxModel ); + bool bResult = OClickableImageBaseControl::setModel( _rxModel ); startOrStopModelPropertyListening( true ); - m_bEnabledByPropertyValue = sal_True; + m_bEnabledByPropertyValue = true; Reference< XPropertySet > xModelProps( _rxModel, UNO_QUERY ); if ( xModelProps.is() ) xModelProps->getPropertyValue( PROPERTY_ENABLED ) >>= m_bEnabledByPropertyValue; |