Kaydet (Commit) 28c8a529 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Replace remaining getCppuType et al with cppu::UnoType

Change-Id: I299ac00ea8604c4cd7e27458e1a45380fad819d3
üst ead30623
......@@ -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;
......
......@@ -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;
......
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment