summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
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,