diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:38:24 +0200 |
commit | 28c8a529510133466f2b361020678cb3a479d78b (patch) | |
tree | 87f398f493d993be84d33930cf4c8f66e8594609 /cui | |
parent | ead3062336673c449a70ff41895a5cd5e087883f (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I299ac00ea8604c4cd7e27458e1a45380fad819d3
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/scriptdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/connpoolconfig.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/optasian.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cui/source/dialogs/scriptdlg.cxx b/cui/source/dialogs/scriptdlg.cxx index 0a2004860933..6c45a05f93d0 100644 --- a/cui/source/dialogs/scriptdlg.cxx +++ b/cui/source/dialogs/scriptdlg.cxx @@ -1365,7 +1365,7 @@ OUString GetErrorMessage( OUString GetErrorMessage( const RuntimeException& re ) { - Type t = ::getCppuType( &re ); + Type t = cppu::UnoType<decltype(re)>::get(); OUString message = t.getTypeName(); message += re.Message; @@ -1374,7 +1374,7 @@ OUString GetErrorMessage( const RuntimeException& re ) OUString GetErrorMessage( const Exception& e ) { - Type t = ::getCppuType( &e ); + Type t = cppu::UnoType<decltype(e)>::get(); OUString message = t.getTypeName(); message += e.Message; diff --git a/cui/source/options/connpoolconfig.cxx b/cui/source/options/connpoolconfig.cxx index b021d6346941..c7807bb0d1e1 100644 --- a/cui/source/options/connpoolconfig.cxx +++ b/cui/source/options/connpoolconfig.cxx @@ -158,7 +158,7 @@ namespace offapp if (pEnabled) { sal_Bool bEnabled = pEnabled->GetValue(); - aConnectionPoolRoot.setNodeValue(getEnablePoolingNodeName(), Any(&bEnabled, ::getBooleanCppuType())); + aConnectionPoolRoot.setNodeValue(getEnablePoolingNodeName(), Any(&bEnabled, cppu::UnoType<bool>::get())); bNeedCommit = true; } @@ -190,7 +190,7 @@ namespace offapp // set the values aThisDriverSettings.setNodeValue(getDriverNameNodeName(), makeAny(sThisDriverName)); - aThisDriverSettings.setNodeValue(getEnableNodeName(), Any(&aLoop->bEnabled, ::getBooleanCppuType())); + aThisDriverSettings.setNodeValue(getEnableNodeName(), Any(&aLoop->bEnabled, cppu::UnoType<bool>::get())); aThisDriverSettings.setNodeValue(getTimeoutNodeName(), makeAny(aLoop->nTimeoutSeconds)); } bNeedCommit = true; diff --git a/cui/source/options/optasian.cxx b/cui/source/options/optasian.cxx index 136fe18ab8da..d944b5f891e3 100644 --- a/cui/source/options/optasian.cxx +++ b/cui/source/options/optasian.cxx @@ -169,7 +169,7 @@ bool SvxAsianLayoutPage::FillItemSet( SfxItemSet* ) { Any aVal; sal_Bool bVal = !m_pCharKerningRB->IsChecked(); - aVal.setValue(&bVal, ::getBooleanCppuType()); + aVal.setValue(&bVal, cppu::UnoType<bool>::get()); pImpl->xPrSet->setPropertyValue(sPunct, aVal); } } |