diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-11 17:17:33 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-12 10:04:59 +0200 |
commit | 69ac0fa53b60bc2ab65a2590f3eb3f789bcfc31c (patch) | |
tree | e7f16dcfde76378da3d2ba2ac97e35c7b9362fc2 | |
parent | c356bd37bdebd5a9eea1d25c628212f071659158 (diff) |
toolkit: sal_Bool -> bool
Change-Id: I8819d408e8556bbf38605c2feef2fa87d8dd41c3
-rw-r--r-- | accessibility/source/helper/acc_factory.cxx | 4 | ||||
-rw-r--r-- | include/toolkit/helper/accessiblefactory.hxx | 2 | ||||
-rw-r--r-- | toolkit/source/awt/vclxwindows.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/helper/accessibilityclient.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx index 495d93d9b0f3..5b9bdca63b95 100644 --- a/accessibility/source/helper/acc_factory.cxx +++ b/accessibility/source/helper/acc_factory.cxx @@ -114,7 +114,7 @@ public: virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > createAccessibleContext( VCLXWindow* _pXWindow ) SAL_OVERRIDE; virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > - createAccessible( Menu* _pMenu, sal_Bool _bIsMenuBar ) SAL_OVERRIDE; + createAccessible( Menu* _pMenu, bool _bIsMenuBar ) SAL_OVERRIDE; // ::svt::IAccessibleFactory virtual IAccessibleTabListBox* @@ -228,7 +228,7 @@ AccessibleFactory::~AccessibleFactory() { } -Reference< XAccessible > AccessibleFactory::createAccessible( Menu* _pMenu, sal_Bool _bIsMenuBar ) +Reference< XAccessible > AccessibleFactory::createAccessible( Menu* _pMenu, bool _bIsMenuBar ) { OAccessibleMenuBaseComponent* pAccessible; if ( _bIsMenuBar ) diff --git a/include/toolkit/helper/accessiblefactory.hxx b/include/toolkit/helper/accessiblefactory.hxx index e56eda24b7d1..fc99828e2aa6 100644 --- a/include/toolkit/helper/accessiblefactory.hxx +++ b/include/toolkit/helper/accessiblefactory.hxx @@ -119,7 +119,7 @@ namespace toolkit /** creates an accessible component for the given menu */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > - createAccessible( Menu* _pMenu, sal_Bool _bIsMenuBar ) = 0; + createAccessible( Menu* _pMenu, bool _bIsMenuBar ) = 0; protected: virtual ~IAccessibleFactory() {} diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx index 71d4f03f291b..01fbbe0a132c 100644 --- a/toolkit/source/awt/vclxwindows.cxx +++ b/toolkit/source/awt/vclxwindows.cxx @@ -4370,7 +4370,7 @@ void VCLXComboBox::setProperty( const OUString& PropertyName, const ::com::sun:: pComboBox->EnableAutocomplete( n != 0 ); else { - sal_Bool b = sal_Bool(); + bool b = bool(); if ( Value >>= b ) pComboBox->EnableAutocomplete( b ); } diff --git a/toolkit/source/helper/accessibilityclient.cxx b/toolkit/source/helper/accessibilityclient.cxx index 7dc37943acae..1ddf9b398e1f 100644 --- a/toolkit/source/helper/accessibilityclient.cxx +++ b/toolkit/source/helper/accessibilityclient.cxx @@ -116,7 +116,7 @@ namespace toolkit return NULL; } ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > - createAccessible( Menu* /*_pMenu*/, sal_Bool /*_bIsMenuBar*/ ) SAL_OVERRIDE + createAccessible( Menu* /*_pMenu*/, bool /*_bIsMenuBar*/ ) SAL_OVERRIDE { return NULL; } |