diff options
Diffstat (limited to 'forms/source')
-rw-r--r-- | forms/source/component/Button.cxx | 6 | ||||
-rw-r--r-- | forms/source/component/Button.hxx | 4 | ||||
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 4 | ||||
-rw-r--r-- | forms/source/component/EventThread.hxx | 2 | ||||
-rw-r--r-- | forms/source/component/FormComponent.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/ImageButton.cxx | 2 | ||||
-rw-r--r-- | forms/source/component/clickableimage.cxx | 6 | ||||
-rw-r--r-- | forms/source/component/clickableimage.hxx | 4 | ||||
-rw-r--r-- | forms/source/helper/formnavigation.cxx | 4 | ||||
-rw-r--r-- | forms/source/inc/FormComponent.hxx | 2 | ||||
-rw-r--r-- | forms/source/inc/formnavigation.hxx | 2 | ||||
-rw-r--r-- | forms/source/solar/component/navbarcontrol.cxx | 2 | ||||
-rw-r--r-- | forms/source/solar/component/navbarcontrol.hxx | 2 |
13 files changed, 21 insertions, 21 deletions
diff --git a/forms/source/component/Button.cxx b/forms/source/component/Button.cxx index 8d45fae2b3aa..3ede9e4b5b23 100644 --- a/forms/source/component/Button.cxx +++ b/forms/source/component/Button.cxx @@ -483,13 +483,13 @@ IMPL_LINK_NOARG(OButtonControl, OnClick) } } else - actionPerformed_Impl( sal_False, ::com::sun::star::awt::MouseEvent() ); + actionPerformed_Impl( false, ::com::sun::star::awt::MouseEvent() ); } return 0L; } -void OButtonControl::actionPerformed_Impl( sal_Bool _bNotifyListener, const ::com::sun::star::awt::MouseEvent& _rEvt ) +void OButtonControl::actionPerformed_Impl( bool _bNotifyListener, const ::com::sun::star::awt::MouseEvent& _rEvt ) { { sal_Int16 nFeatureId = -1; @@ -706,7 +706,7 @@ void OButtonControl::getSupportedFeatures( ::std::vector< sal_Int16 >& /* [out] } -void OButtonControl::featureStateChanged( sal_Int16 _nFeatureId, sal_Bool _bEnabled ) +void OButtonControl::featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled ) { if ( _nFeatureId == m_nTargetUrlFeatureId ) { diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx index 0e10752e8c9f..8289de100cdd 100644 --- a/forms/source/component/Button.hxx +++ b/forms/source/component/Button.hxx @@ -163,7 +163,7 @@ public: protected: // OFormNavigationHelper overriables virtual void getSupportedFeatures( ::std::vector< sal_Int16 >& /* [out] */ _rFeatureIds ) SAL_OVERRIDE; - virtual void featureStateChanged( sal_Int16 _nFeatureId, sal_Bool _bEnabled ) SAL_OVERRIDE; + virtual void featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled ) SAL_OVERRIDE; virtual void allFeatureStatesChanged( ) SAL_OVERRIDE; virtual bool isEnabled( sal_Int16 _nFeatureId ) const SAL_OVERRIDE; @@ -172,7 +172,7 @@ protected: virtual void SAL_CALL releaseDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; // OImageControl overridables - virtual void actionPerformed_Impl( sal_Bool bNotifyListener, const ::com::sun::star::awt::MouseEvent& _rEvt ) SAL_OVERRIDE; + virtual void actionPerformed_Impl( bool bNotifyListener, const ::com::sun::star::awt::MouseEvent& _rEvt ) SAL_OVERRIDE; private: DECL_LINK( OnClick, void* ); diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 2da9bcb3188e..6689959b78ed 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -172,7 +172,7 @@ protected: virtual void processEvent( ::cppu::OComponentHelper* _pCompImpl, const EventObject* _pEvt, const Reference<XControl>& _rControl, - sal_Bool _bSubmit) SAL_OVERRIDE; + bool _bSubmit) SAL_OVERRIDE; public: @@ -191,7 +191,7 @@ void OFormSubmitResetThread::processEvent( ::cppu::OComponentHelper* pCompImpl, const EventObject *_pEvt, const Reference<XControl>& _rControl, - sal_Bool _bSubmit) + bool _bSubmit) { if (_bSubmit) ((ODatabaseForm *)pCompImpl)->submit_impl(_rControl, *static_cast<const ::com::sun::star::awt::MouseEvent*>(_pEvt), true); diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx index 151e309a7fef..9a5f353df155 100644 --- a/forms/source/component/EventThread.hxx +++ b/forms/source/component/EventThread.hxx @@ -79,7 +79,7 @@ protected: virtual void processEvent( ::cppu::OComponentHelper* _pCompImpl, const ::com::sun::star::lang::EventObject* _pEvt, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& _rControl, - sal_Bool _bFlag) = 0; + bool _bFlag) = 0; public: diff --git a/forms/source/component/FormComponent.cxx b/forms/source/component/FormComponent.cxx index 96ce237c388a..f2d26f3c1319 100644 --- a/forms/source/component/FormComponent.cxx +++ b/forms/source/component/FormComponent.cxx @@ -387,7 +387,7 @@ void SAL_CALL OBoundControl::setLock(sal_Bool _bLock) throw(RuntimeException, st m_bLocked = _bLock; } -void OBoundControl::_setLock(sal_Bool _bLock) +void OBoundControl::_setLock(bool _bLock) { // try to set the text component to readonly Reference< XWindowPeer > xPeer = getPeer(); diff --git a/forms/source/component/ImageButton.cxx b/forms/source/component/ImageButton.cxx index 36f7c662cbca..868c41d6a99c 100644 --- a/forms/source/component/ImageButton.cxx +++ b/forms/source/component/ImageButton.cxx @@ -211,7 +211,7 @@ void OImageButtonControl::mousePressed(const awt::MouseEvent& e) throw ( ::com:: // Sonst nicht. Dann darf man aber auf keinen Fal die Listener // benachrichtigen, auch dann nicht, wenn er spaeter hinzukommt. aGuard.clear(); - actionPerformed_Impl( sal_False, e ); + actionPerformed_Impl( false, e ); } } diff --git a/forms/source/component/clickableimage.cxx b/forms/source/component/clickableimage.cxx index 6e3aa8fb7d3e..35f824528237 100644 --- a/forms/source/component/clickableimage.cxx +++ b/forms/source/component/clickableimage.cxx @@ -189,7 +189,7 @@ namespace frm // Diese Methode wird auch aus einem Thread gerufen und muss deshalb // thread-safe sein. - void OClickableImageBaseControl::actionPerformed_Impl(sal_Bool bNotifyListener, const MouseEvent& rEvt) + void OClickableImageBaseControl::actionPerformed_Impl(bool bNotifyListener, const MouseEvent& rEvt) { if( bNotifyListener ) { @@ -870,9 +870,9 @@ namespace frm void OImageProducerThread_Impl::processEvent( ::cppu::OComponentHelper *pCompImpl, const EventObject* pEvt, const Reference<XControl>&, - sal_Bool ) + bool ) { - ((OClickableImageBaseControl *)pCompImpl)->actionPerformed_Impl( sal_True, *(MouseEvent *)pEvt ); + ((OClickableImageBaseControl *)pCompImpl)->actionPerformed_Impl( true, *(MouseEvent *)pEvt ); } diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx index e2c8ec10dee2..a70f08160ba8 100644 --- a/forms/source/component/clickableimage.hxx +++ b/forms/source/component/clickableimage.hxx @@ -223,7 +223,7 @@ namespace frm virtual void SAL_CALL releaseDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; protected: - virtual void actionPerformed_Impl( sal_Bool bNotifyListener, const ::com::sun::star::awt::MouseEvent& rEvt ); + virtual void actionPerformed_Impl( bool bNotifyListener, const ::com::sun::star::awt::MouseEvent& rEvt ); ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > _getTypes() SAL_OVERRIDE; @@ -258,7 +258,7 @@ namespace frm virtual void processEvent( ::cppu::OComponentHelper *pCompImpl, const ::com::sun::star::lang::EventObject*, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>&, - sal_Bool ) SAL_OVERRIDE; + bool ) SAL_OVERRIDE; public: OImageProducerThread_Impl( OClickableImageBaseControl *pControl ) : diff --git a/forms/source/helper/formnavigation.cxx b/forms/source/helper/formnavigation.cxx index dd5f9d9e894f..1d647d74eb48 100644 --- a/forms/source/helper/formnavigation.cxx +++ b/forms/source/helper/formnavigation.cxx @@ -65,7 +65,7 @@ namespace frm } - void OFormNavigationHelper::featureStateChanged( sal_Int16 /*_nFeatureId*/, sal_Bool /*_bEnabled*/ ) + void OFormNavigationHelper::featureStateChanged( sal_Int16 /*_nFeatureId*/, bool /*_bEnabled*/ ) { // not interested in } @@ -137,7 +137,7 @@ namespace frm aFeature->second.aCachedAdditionalState.clear(); --m_nConnectedFeatures; - featureStateChanged( aFeature->first, sal_False ); + featureStateChanged( aFeature->first, false ); break; } } diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx index deef7632f316..da1ef253fd96 100644 --- a/forms/source/inc/FormComponent.hxx +++ b/forms/source/inc/FormComponent.hxx @@ -315,7 +315,7 @@ public: protected: virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE; // implement the lock setting - virtual void _setLock(sal_Bool _bLock); + virtual void _setLock(bool _bLock); }; diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx index e496812fc6e1..c323c2b4b2be 100644 --- a/forms/source/inc/formnavigation.hxx +++ b/forms/source/inc/formnavigation.hxx @@ -126,7 +126,7 @@ namespace frm determines if the features is enabled or disabled @see getBooleanState */ - virtual void featureStateChanged( sal_Int16 _nFeatureId, sal_Bool _bEnabled ); + virtual void featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled ); /** notification for (potential) changes in the state of all features <p>The base class implementation does nothing. Derived classes could force diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index 12016eb0a2ed..274851f58824 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -422,7 +422,7 @@ namespace frm } - void ONavigationBarPeer::featureStateChanged( sal_Int16 _nFeatureId, sal_Bool _bEnabled ) + void ONavigationBarPeer::featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled ) { // enable this button on the toolbox NavigationToolBar* pNavBar = static_cast< NavigationToolBar* >( GetWindow() ); diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx index c0436826dadd..57e5af6754b4 100644 --- a/forms/source/solar/component/navbarcontrol.hxx +++ b/forms/source/solar/component/navbarcontrol.hxx @@ -127,7 +127,7 @@ namespace frm // OFormNavigationHelper overriables virtual void interceptorsChanged( ) SAL_OVERRIDE; - virtual void featureStateChanged( sal_Int16 _nFeatureId, sal_Bool _bEnabled ) SAL_OVERRIDE; + virtual void featureStateChanged( sal_Int16 _nFeatureId, bool _bEnabled ) SAL_OVERRIDE; virtual void allFeatureStatesChanged( ) SAL_OVERRIDE; virtual void getSupportedFeatures( ::std::vector< sal_Int16 >& /* [out] */ _rFeatureIds ) SAL_OVERRIDE; |