Kaydet (Commit) 6fb5bf52 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

fpicker: sal_Bool -> bool

Change-Id: Iaf55e2106900be0319c96861b07abea24075bbbe
üst 102c2413
......@@ -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();
......
......@@ -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 );
}
......
......@@ -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 );
......
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment