diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-17 15:47:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-22 09:56:06 +0200 |
commit | d83dfeb5e59c8f3de12d673b001a44001f644e7d (patch) | |
tree | 3c4f08c12d9bd83192d3c58971e95ca04ba0303a /filter/source/t602 | |
parent | 5df6dcf747a36989a3891c855737fe9bdb206a36 (diff) |
filter: sal_Bool->bool
Change-Id: Icf20f23cb46ad3cb147d8c6a743f1d25a23fbca5
Diffstat (limited to 'filter/source/t602')
-rw-r--r-- | filter/source/t602/t602filter.cxx | 12 | ||||
-rw-r--r-- | filter/source/t602/t602filter.hxx | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index 5acdfc05afc4..1122d5a98c91 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -238,7 +238,7 @@ void T602ImportFilter::inschr(unsigned char ch) inschrdef(ch); } -sal_Bool SAL_CALL T602ImportFilter::importImpl( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) +bool SAL_CALL T602ImportFilter::importImpl( const Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) throw (RuntimeException) { Reset602(); @@ -254,7 +254,7 @@ sal_Bool SAL_CALL T602ImportFilter::importImpl( const Sequence< ::com::sun::star if ( !mxInputStream.is() ) { OSL_ASSERT( false ); - return sal_False; + return false; } // An XML import service: what we push sax messages to.. @@ -445,7 +445,7 @@ sal_Bool SAL_CALL T602ImportFilter::importImpl( const Sequence< ::com::sun::star mxHandler->endDocument(); - return sal_True; + return true; } void T602ImportFilter::Reset602() @@ -906,7 +906,7 @@ Locale SAL_CALL T602ImportFilterDialog::getLocale() return meLocale; } -sal_Bool T602ImportFilterDialog::OptionsDlg() +bool T602ImportFilterDialog::OptionsDlg() { Any any; #define _propInt(_prop,_nam,_val) \ @@ -916,7 +916,7 @@ sal_Bool T602ImportFilterDialog::OptionsDlg() any <<= (sal_Int16)_val;\ _prop->setPropertyValue(OUString::createFromAscii(_nam), any); #define _propBool(_prop,_nam,_val) \ - any <<= (sal_Bool)_val;\ + any <<= _val;\ _prop->setPropertyValue(OUString::createFromAscii(_nam), any); #define _propString(_prop,_nam,_val) \ any <<= OUString::createFromAscii(_val);\ @@ -1066,7 +1066,7 @@ sal_Bool T602ImportFilterDialog::OptionsDlg() dialog->setVisible( false ); dialog->createPeer( xToolkit, NULL ); - sal_Bool ret = ( dialog->execute() != 0 ); + bool ret = ( dialog->execute() != 0 ); if ( ret ) { sal_Int16 tt = 0; diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 13b11a6cb02a..ced0df914a86 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -99,7 +99,7 @@ class T602ImportFilterDialog : public cppu::WeakImplHelper4 < ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > mxMSF; com::sun::star::lang::Locale meLocale; ResMgr *mpResMgr; - sal_Bool OptionsDlg(); + bool OptionsDlg(); ResMgr* getResMgr(); OUString getResStr( sal_Int16 resid ); void initLocale(); @@ -250,7 +250,7 @@ private: void setfnt(fonts fnt,bool mustwrite); void wrtfnt(); - sal_Bool SAL_CALL importImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) + bool SAL_CALL importImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) throw (::com::sun::star::uno::RuntimeException); public: @@ -288,7 +288,7 @@ private: OUString T602ImportFilter_getImplementationName() throw ( ::com::sun::star::uno::RuntimeException ); -sal_Bool SAL_CALL T602ImportFilter_supportsService( const OUString& ServiceName ) +bool SAL_CALL T602ImportFilter_supportsService( const OUString& ServiceName ) throw ( ::com::sun::star::uno::RuntimeException ); ::com::sun::star::uno::Sequence< OUString > SAL_CALL T602ImportFilter_getSupportedServiceNames( ) @@ -301,7 +301,7 @@ SAL_CALL T602ImportFilter_createInstance( const ::com::sun::star::uno::Reference OUString T602ImportFilterDialog_getImplementationName() throw ( ::com::sun::star::uno::RuntimeException ); -sal_Bool SAL_CALL T602ImportFilterDialog_supportsService( const OUString& ServiceName ) +bool SAL_CALL T602ImportFilterDialog_supportsService( const OUString& ServiceName ) throw ( ::com::sun::star::uno::RuntimeException ); ::com::sun::star::uno::Sequence< OUString > SAL_CALL T602ImportFilterDialog_getSupportedServiceNames( ) |