summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:16 +0200
commita55166cc25351f43d502f6b23d75df824c05f01a (patch)
tree27a7ccda07631ceb08bfb08381ee3623e90e6a7b /include
parente1f3391a749873875e2e65bf9f36d242702b8006 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I641a3a1e2cf2c789844940d7231015cb85e3b8bc
Diffstat (limited to 'include')
-rw-r--r--include/svl/poolitem.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 7583872a86ea..8857002b69ca 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -60,7 +60,7 @@ inline bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
bool nValue = false;
if( rValue.hasValue() )
{
- if( rValue.getValueType() == ::getCppuBooleanType() )
+ if( rValue.getValueType() == cppu::UnoType<bool>::get() )
{
nValue = *static_cast<sal_Bool const *>(rValue.getValue());
}
@@ -77,7 +77,7 @@ inline bool Any2Bool( const ::com::sun::star::uno::Any&rValue )
inline ::com::sun::star::uno::Any Bool2Any( bool bValue )
{
- return ::com::sun::star::uno::Any( &bValue, ::getCppuBooleanType() );
+ return ::com::sun::star::uno::Any( &bValue, cppu::UnoType<bool>::get() );
}