summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/filepicker/filepickerstate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/filepicker/filepickerstate.cxx')
-rw-r--r--fpicker/source/win32/filepicker/filepickerstate.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index 51c4a717ed98..5974b9eb8eae 100644
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -58,7 +58,7 @@ CFilePickerState::~CFilePickerState( )
CNonExecuteFilePickerState::CNonExecuteFilePickerState( ) :
- m_FirstControlCommand( NULL )
+ m_FirstControlCommand( nullptr )
{
}
@@ -118,7 +118,7 @@ Any SAL_CALL CNonExecuteFilePickerState::getValue( sal_Int16 aControlId, sal_Int
}
-void SAL_CALL CNonExecuteFilePickerState::enableControl( sal_Int16 aControlId, sal_Bool bEnable )
+void SAL_CALL CNonExecuteFilePickerState::enableControl( sal_Int16 aControlId, bool bEnable )
{
CEnableControlCommand* enable_command = new CEnableControlCommand(
aControlId, bEnable );
@@ -281,7 +281,7 @@ void SAL_CALL CNonExecuteFilePickerState::reset( )
currentCommand = nextCommand;
}
- m_FirstControlCommand = NULL;
+ m_FirstControlCommand = nullptr;
}
@@ -300,7 +300,7 @@ void SAL_CALL CNonExecuteFilePickerState::addControlCommand( CControlCommand* aC
{
OSL_ASSERT( aControlCommand );
- if ( NULL == m_FirstControlCommand )
+ if ( nullptr == m_FirstControlCommand )
{
m_FirstControlCommand = aControlCommand;
}
@@ -308,7 +308,7 @@ void SAL_CALL CNonExecuteFilePickerState::addControlCommand( CControlCommand* aC
{
CControlCommand* pNextControlCommand = m_FirstControlCommand;
- while ( pNextControlCommand->getNextCommand( ) != NULL )
+ while ( pNextControlCommand->getNextCommand( ) != nullptr )
pNextControlCommand = pNextControlCommand->getNextCommand( );
pNextControlCommand->setNextCommand( aControlCommand );
@@ -397,7 +397,7 @@ Any SAL_CALL CExecuteFilePickerState::getValue( sal_Int16 aControlId, sal_Int16
}
-void SAL_CALL CExecuteFilePickerState::enableControl( sal_Int16 aControlId, sal_Bool bEnable )
+void SAL_CALL CExecuteFilePickerState::enableControl( sal_Int16 aControlId, bool bEnable )
{
HWND hwndCtrl = GetHwndDlgItem( aControlId );
@@ -568,7 +568,7 @@ void SAL_CALL CExecuteFilePickerState::setHwnd( HWND hwndDlg )
}
-inline sal_Bool SAL_CALL CExecuteFilePickerState::IsListboxControl( HWND hwndControl ) const
+inline bool SAL_CALL CExecuteFilePickerState::IsListboxControl( HWND hwndControl )
{
OSL_PRECOND( IsWindow( hwndControl ), "invalid parameter" );
@@ -584,7 +584,7 @@ inline sal_Bool SAL_CALL CExecuteFilePickerState::IsListboxControl( HWND hwndCon
// is the id of the listbox + 100
-inline sal_Int16 SAL_CALL CExecuteFilePickerState::ListboxIdToListboxLabelId( sal_Int16 aListboxId ) const
+inline sal_Int16 SAL_CALL CExecuteFilePickerState::ListboxIdToListboxLabelId( sal_Int16 aListboxId )
{
return ( aListboxId + LISTBOX_LABEL_OFFSET );
}
@@ -601,7 +601,7 @@ inline HWND SAL_CALL CExecuteFilePickerState::GetListboxLabelItem( sal_Int16 aCo
}
-HWND SAL_CALL CExecuteFilePickerState::GetHwndDlgItem( sal_Int16 aControlId, sal_Bool bIncludeStdCtrls ) const
+HWND SAL_CALL CExecuteFilePickerState::GetHwndDlgItem( sal_Int16 aControlId, bool bIncludeStdCtrls ) const
{
OSL_ENSURE( IsWindow( m_hwndDlg ), "no valid parent window set before" );