summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/misc/WinImplHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/misc/WinImplHelper.cxx')
-rw-r--r--fpicker/source/win32/misc/WinImplHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/misc/WinImplHelper.cxx b/fpicker/source/win32/misc/WinImplHelper.cxx
index 6011bcf18694..e12241c09611 100644
--- a/fpicker/source/win32/misc/WinImplHelper.cxx
+++ b/fpicker/source/win32/misc/WinImplHelper.cxx
@@ -333,7 +333,7 @@ Any SAL_CALL CheckboxGetState( HWND hwnd )
LRESULT lChkState = SendMessageW( hwnd, BM_GETCHECK, 0, 0 );
sal_Bool bChkState = (lChkState == BST_CHECKED) ? sal_True : sal_False;
Any aAny;
- aAny.setValue( &bChkState, getCppuType((sal_Bool*)0) );
+ aAny.setValue( &bChkState, cppu::UnoType<sal_Bool>::get());
return aAny;
}
@@ -348,7 +348,7 @@ void SAL_CALL CheckboxSetState(
OSL_ASSERT( IsWindow( hwnd ) );
if ( !aState.hasValue( ) ||
- aState.getValueType( ) != getCppuType((sal_Bool*)0) )
+ aState.getValueType( ) != cppu::UnoType<sal_Bool>::get())
throw IllegalArgumentException(
OUString( "invalid value type or any has no value" ),
rXInterface,