diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 00:14:44 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 06:19:42 +0200 |
commit | 5ec7a589bed7991ffe8ad9a2f544a6699d159765 (patch) | |
tree | f9020375a29477fe7e4d22970a4040c36abadbdf /fpicker/source/win32/filepicker | |
parent | 83a88b942134314e86ac612d0ef70a8e4919e4af (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
Diffstat (limited to 'fpicker/source/win32/filepicker')
-rw-r--r-- | fpicker/source/win32/filepicker/FilePicker.cxx | 4 |
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); |