summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-05-10 00:14:44 +0200
committerJulien Nabet <serval2412@yahoo.fr>2014-05-10 06:19:42 +0200
commit5ec7a589bed7991ffe8ad9a2f544a6699d159765 (patch)
treef9020375a29477fe7e4d22970a4040c36abadbdf /linguistic
parent83a88b942134314e86ac612d0ef70a8e4919e4af (diff)
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/lngopt.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx
index 5176c38115d4..07b2026502b5 100644
--- a/linguistic/source/lngopt.cxx
+++ b/linguistic/source/lngopt.cxx
@@ -147,19 +147,19 @@ static const SfxItemPropertyMapEntry* lcl_GetLinguProps()
static const SfxItemPropertyMapEntry aLinguProps[] =
{
{ OUString(UPN_DEFAULT_LANGUAGE), WID_DEFAULT_LANGUAGE,
- ::getCppuType( (sal_Int16*)0 ), 0, 0 },
+ ::cppu::UnoType<sal_Int16>::get(), 0, 0 },
{ OUString(UPN_DEFAULT_LOCALE), WID_DEFAULT_LOCALE,
- ::getCppuType( (Locale* )0), 0, 0 },
+ ::cppu::UnoType<Locale>::get(), 0, 0 },
{ OUString(UPN_DEFAULT_LOCALE_CJK), WID_DEFAULT_LOCALE_CJK,
- ::getCppuType( (Locale* )0), 0, 0 },
+ ::cppu::UnoType<Locale>::get(), 0, 0 },
{ OUString(UPN_DEFAULT_LOCALE_CTL), WID_DEFAULT_LOCALE_CTL,
- ::getCppuType( (Locale* )0), 0, 0 },
+ ::cppu::UnoType<Locale>::get(), 0, 0 },
{ OUString(UPN_HYPH_MIN_LEADING), WID_HYPH_MIN_LEADING,
- ::getCppuType( (sal_Int16*)0 ), 0, 0 },
+ ::cppu::UnoType<sal_Int16>::get(), 0, 0 },
{ OUString(UPN_HYPH_MIN_TRAILING), WID_HYPH_MIN_TRAILING,
- ::getCppuType( (sal_Int16*)0 ), 0, 0 },
+ ::cppu::UnoType<sal_Int16>::get(), 0, 0 },
{ OUString(UPN_HYPH_MIN_WORD_LENGTH), WID_HYPH_MIN_WORD_LENGTH,
- ::getCppuType( (sal_Int16*)0 ), 0, 0 },
+ ::cppu::UnoType<sal_Int16>::get(), 0, 0 },
{ OUString(UPN_IS_GERMAN_PRE_REFORM), WID_IS_GERMAN_PRE_REFORM, /*! deprecated !*/
::getBooleanCppuType(), 0, 0 },
{ OUString(UPN_IS_HYPH_AUTO), WID_IS_HYPH_AUTO,