diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-08 23:12:15 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-08 23:13:29 +0200 |
commit | a98b0d15e5055bc91ab5a21612e5dbe2f251d5c3 (patch) | |
tree | 1ceb2c49b513f35c16429b66a3b9bc6d9c20965e /sc/source/ui/unoobj/srchuno.cxx | |
parent | 13009b5cde632b05f62620f214357565c622f7fa (diff) |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part7
Change-Id: I88c8bf8c52d18e07fb8c96b2c4ecb4548740b311
Diffstat (limited to 'sc/source/ui/unoobj/srchuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/srchuno.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/unoobj/srchuno.cxx b/sc/source/ui/unoobj/srchuno.cxx index 80ca0da2af81..84f686b8f3e9 100644 --- a/sc/source/ui/unoobj/srchuno.cxx +++ b/sc/source/ui/unoobj/srchuno.cxx @@ -47,12 +47,12 @@ static const SfxItemPropertyMapEntry* lcl_GetSearchPropertyMap() {OUString(SC_UNO_SRCHCASE), 0, getBooleanCppuType(), 0, 0}, {OUString(SC_UNO_SRCHREGEXP), 0, getBooleanCppuType(), 0, 0}, {OUString(SC_UNO_SRCHSIM), 0, getBooleanCppuType(), 0, 0}, - {OUString(SC_UNO_SRCHSIMADD), 0, getCppuType((sal_Int16*)0), 0, 0}, - {OUString(SC_UNO_SRCHSIMEX), 0, getCppuType((sal_Int16*)0), 0, 0}, + {OUString(SC_UNO_SRCHSIMADD), 0, cppu::UnoType<sal_Int16>::get(), 0, 0}, + {OUString(SC_UNO_SRCHSIMEX), 0, cppu::UnoType<sal_Int16>::get(), 0, 0}, {OUString(SC_UNO_SRCHSIMREL), 0, getBooleanCppuType(), 0, 0}, - {OUString(SC_UNO_SRCHSIMREM), 0, getCppuType((sal_Int16*)0), 0, 0}, + {OUString(SC_UNO_SRCHSIMREM), 0, cppu::UnoType<sal_Int16>::get(), 0, 0}, {OUString(SC_UNO_SRCHSTYLES), 0, getBooleanCppuType(), 0, 0}, - {OUString(SC_UNO_SRCHTYPE), 0, getCppuType((sal_Int16*)0), 0, 0}, // enum TableSearch ist weg + {OUString(SC_UNO_SRCHTYPE), 0, cppu::UnoType<sal_Int16>::get(), 0, 0}, // enum TableSearch ist weg {OUString(SC_UNO_SRCHWORDS), 0, getBooleanCppuType(), 0, 0}, { OUString(), 0, css::uno::Type(), 0, 0 } }; |