diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:41:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:41:44 +0200 |
commit | 574bc065a7a8732a8be23ed8fbde284e0d611a7a (patch) | |
tree | ff8e6c96795d64ef4fd62c2f6f20569746ba2053 /sw/source/ui/index | |
parent | 008904a75bae7a42af8fce5f2bced4d029af3094 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I091e11ab1e7fbacf04a0eac51262d22d3835ab17
Diffstat (limited to 'sw/source/ui/index')
-rw-r--r-- | sw/source/ui/index/cntex.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/index/cntex.cxx b/sw/source/ui/index/cntex.cxx index ef793c828d55..e01520743416 100644 --- a/sw/source/ui/index/cntex.cxx +++ b/sw/source/ui/index/cntex.cxx @@ -224,7 +224,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample( OUString* pArr = aStyles.getArray(); for(sal_Int32 nStyle = 0; nStyle < nStyles; nStyle++) pArr[nStyle] = sLevel.getToken(nStyle, TOX_STYLE_DELIMITER); - uno::Any aAny(&aStyles, ::getCppuType((uno::Sequence<OUString>*)0)); + uno::Any aAny(&aStyles, cppu::UnoType<uno::Sequence<OUString>>::get()); xAcc->replaceByIndex(i, aAny); } } @@ -373,7 +373,7 @@ void SwMultiTOXTabDialog::CreateOrUpdateExample( uno::Reference< container::XIndexReplace > xFormatAccess; aFormatAccess >>= xFormatAccess; - uno::Any aLevelProp(&aSequPropVals, ::getCppuType((uno::Sequence<beans::PropertyValues>*)0)); + uno::Any aLevelProp(&aSequPropVals, cppu::UnoType<uno::Sequence<beans::PropertyValues>>::get()); xFormatAccess->replaceByIndex(nCurrLevel, aLevelProp); } } |