diff options
Diffstat (limited to 'forms/source/component')
-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 |
8 files changed, 15 insertions, 15 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 ) : |