summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/srchuno.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-08 23:12:15 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-08 23:13:29 +0200
commita98b0d15e5055bc91ab5a21612e5dbe2f251d5c3 (patch)
tree1ceb2c49b513f35c16429b66a3b9bc6d9c20965e /sc/source/ui/unoobj/srchuno.cxx
parent13009b5cde632b05f62620f214357565c622f7fa (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.cxx8
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 }
};