summaryrefslogtreecommitdiff
path: root/fpicker/source/win32/filepicker/FilePicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/win32/filepicker/FilePicker.cxx')
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index 2d91c3396c11..a8bb989091cf 100644
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
@@ -606,8 +606,8 @@ void SAL_CALL CFilePicker::initialize(const uno::Sequence<uno::Any>& aArguments)
aAny = aArguments[0];
- if ( (aAny.getValueType() != ::getCppuType((sal_Int16*)0)) &&
- (aAny.getValueType() != ::getCppuType((sal_Int8*)0)) )
+ if ( (aAny.getValueType() != ::cppu::UnoType<sal_Int16>::get()) &&
+ (aAny.getValueType() != ::cppu::UnoType<sal_Int8>::get()) )
throw lang::IllegalArgumentException(
OUString("invalid argument type"),
static_cast<XFilePicker2*>(this), 1);