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.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index 1ec72dcec0..5429a6ed2e 100644
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -395,14 +395,14 @@ void SAL_CALL CExecuteFilePickerState::setValue( sal_Int16 aControlId, sal_Int16
// method the caller should use XFilterManager
if ( !hwndCtrl || (aControlId == LISTBOX_FILTER) )
{
- OSL_ENSURE( sal_False, "invalid control id" );
+ OSL_FAIL( "invalid control id" );
return;
}
CTRL_CLASS aCtrlClass = GetCtrlClass( hwndCtrl );
if ( UNKNOWN == aCtrlClass )
{
- OSL_ENSURE( sal_False, "unsupported control class" );
+ OSL_FAIL( "unsupported control class" );
return;
}
@@ -411,7 +411,7 @@ void SAL_CALL CExecuteFilePickerState::setValue( sal_Int16 aControlId, sal_Int16
if ( !lpfnSetValue )
{
- OSL_ENSURE( sal_False, "unsupported control action" );
+ OSL_FAIL( "unsupported control action" );
return;
}
@@ -437,14 +437,14 @@ Any SAL_CALL CExecuteFilePickerState::getValue( sal_Int16 aControlId, sal_Int16
// method the caller should use XFilterManager
if ( !hwndCtrl || (aControlId == LISTBOX_FILTER) )
{
- OSL_ENSURE( sal_False, "invalid control id" );
+ OSL_FAIL( "invalid control id" );
return Any( );
}
CTRL_CLASS aCtrlClass = GetCtrlClass( hwndCtrl );
if ( UNKNOWN == aCtrlClass )
{
- OSL_ENSURE( sal_False, "unsupported control class" );
+ OSL_FAIL( "unsupported control class" );
return Any( );
}
@@ -453,7 +453,7 @@ Any SAL_CALL CExecuteFilePickerState::getValue( sal_Int16 aControlId, sal_Int16
if ( !lpfnGetValue )
{
- OSL_ENSURE( sal_False, "unsupported control action" );
+ OSL_FAIL( "unsupported control action" );
return Any( );
}