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 | |
parent | 008904a75bae7a42af8fce5f2bced4d029af3094 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I091e11ab1e7fbacf04a0eac51262d22d3835ab17
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dbui/addresslistdialog.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/cntex.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx index 188c99b73a00..8942afc698db 100644 --- a/sw/source/ui/dbui/addresslistdialog.cxx +++ b/sw/source/ui/dbui/addresslistdialog.cxx @@ -373,7 +373,7 @@ IMPL_LINK(SwAddressListDialog, CreateHdl_Impl, PushButton*, pButton) aTempURL.removeSegment(); aTempURL.removeFinalSlash(); const OUString sDBURL("sdbc:flat:" + aTempURL.GetMainURL(INetURLObject::NO_DECODE)); - Any aAny(&sDBURL, ::getCppuType(&sDBURL)); + Any aAny(&sDBURL, cppu::UnoType<decltype(sDBURL)>::get()); xDataProperties->setPropertyValue("URL", aAny); //set the filter to the file name without extension uno::Sequence<OUString> aFilters(1); 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); } } |