diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-09-12 15:57:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-09-12 15:57:45 +0200 |
commit | 6fb5bf5266e678b6d10fc012fefaad69e2589f3f (patch) | |
tree | 09f2fe41542ae66d743cb551670461d6e292fda3 /fpicker/source | |
parent | 102c2413c144603b7129f2a64f8e96993d1ad46a (diff) |
fpicker: sal_Bool -> bool
Change-Id: Iaf55e2106900be0319c96861b07abea24075bbbe
Diffstat (limited to 'fpicker/source')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 6 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 8 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.hxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/pickercallbacks.hxx | 4 |
4 files changed, 11 insertions, 11 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index 0dbddcbaf63c..fe45acd860d0 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -397,7 +397,7 @@ namespace svt { Any aRet; - Control* pControl = m_pFilePickerController->getControl( _nControlId, sal_False ); + Control* pControl = m_pFilePickerController->getControl( _nControlId, false ); DBG_ASSERT( pControl, "OControlAccess::GetValue: don't have this control in the current mode!" ); if ( pControl ) { @@ -463,7 +463,7 @@ namespace svt void OControlAccess::setLabel( sal_Int16 nId, const OUString &rLabel ) { - Control* pControl = m_pFilePickerController->getControl( nId, sal_True ); + Control* pControl = m_pFilePickerController->getControl( nId, true ); DBG_ASSERT( pControl, "OControlAccess::GetValue: don't have this control in the current mode!" ); if ( pControl ) pControl->SetText( rLabel ); @@ -474,7 +474,7 @@ namespace svt { OUString sLabel; - Control* pControl = m_pFilePickerController->getControl( nId, sal_True ); + Control* pControl = m_pFilePickerController->getControl( nId, true ); DBG_ASSERT( pControl, "OControlAccess::GetValue: don't have this control in the current mode!" ); if ( pControl ) sLabel = pControl->GetText(); diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index ec215c9d3c8f..1d84dc00a241 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -2366,7 +2366,7 @@ void SvtFileDialog::Resize() _pFileNotifier->notify( DIALOG_SIZE_CHANGED, 0 ); } -Control* SvtFileDialog::getControl( sal_Int16 _nControlId, sal_Bool _bLabelControl ) const +Control* SvtFileDialog::getControl( sal_Int16 _nControlId, bool _bLabelControl ) const { Control* pReturn = NULL; @@ -2491,12 +2491,12 @@ Control* SvtFileDialog::getControl( sal_Int16 _nControlId, sal_Bool _bLabelContr } -void SvtFileDialog::enableControl( sal_Int16 _nControlId, sal_Bool _bEnable ) +void SvtFileDialog::enableControl( sal_Int16 _nControlId, bool _bEnable ) { - Control* pControl = getControl( _nControlId, sal_False ); + Control* pControl = getControl( _nControlId, false ); if ( pControl ) EnableControl( pControl, _bEnable ); - Control* pLabel = getControl( _nControlId, sal_True ); + Control* pLabel = getControl( _nControlId, true ); if ( pLabel ) EnableControl( pLabel, _bEnable ); } diff --git a/fpicker/source/office/iodlg.hxx b/fpicker/source/office/iodlg.hxx index e4fad34b9e9e..c7b38a31796c 100644 --- a/fpicker/source/office/iodlg.hxx +++ b/fpicker/source/office/iodlg.hxx @@ -298,8 +298,8 @@ private: sal_uInt16 adjustFilter( const OUString& _rFilter ); // IFilePickerController, needed by OControlAccess - virtual Control* getControl( sal_Int16 _nControlId, sal_Bool _bLabelControl = sal_False ) const SAL_OVERRIDE; - virtual void enableControl( sal_Int16 _nControlId, sal_Bool _bEnable ) SAL_OVERRIDE; + virtual Control* getControl( sal_Int16 _nControlId, bool _bLabelControl = false ) const SAL_OVERRIDE; + virtual void enableControl( sal_Int16 _nControlId, bool _bEnable ) SAL_OVERRIDE; virtual OUString getCurFilter( ) const SAL_OVERRIDE; OUString implGetInitialURL( const OUString& _rPath, const OUString& _rFallback ); diff --git a/fpicker/source/office/pickercallbacks.hxx b/fpicker/source/office/pickercallbacks.hxx index 0bf794940f71..84e2ba7e6fd2 100644 --- a/fpicker/source/office/pickercallbacks.hxx +++ b/fpicker/source/office/pickercallbacks.hxx @@ -34,8 +34,8 @@ namespace svt class IFilePickerController { public: - virtual Control* getControl( sal_Int16 _nControlId, sal_Bool _bLabelControl = sal_False ) const = 0; - virtual void enableControl( sal_Int16 _nControlId, sal_Bool _bEnable ) = 0; + virtual Control* getControl( sal_Int16 _nControlId, bool _bLabelControl = false ) const = 0; + virtual void enableControl( sal_Int16 _nControlId, bool _bEnable ) = 0; virtual OUString getCurFilter( ) const = 0; protected: |