summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:41:28 +0200
commit008904a75bae7a42af8fce5f2bced4d029af3094 (patch)
treee961b17f35984274d53e96eaa8a164674168edcb /svx/source/xoutdev
parente81a7fd0ee95c2afbc373b26ec34d6084ee07cff (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I4791f064f223487ce57e68f8e0b1e3d74e66e868
Diffstat (limited to 'svx/source/xoutdev')
-rw-r--r--svx/source/xoutdev/xattr.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 8a9c6450f17c..a46bfe9a7923 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -2043,13 +2043,13 @@ bool XLineStartCenterItem::GetPresentation
bool XLineStartCenterItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
{
sal_Bool bValue = GetValue();
- rVal.setValue( &bValue, ::getCppuBooleanType() );
+ rVal.setValue( &bValue, cppu::UnoType<bool>::get() );
return true;
}
bool XLineStartCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/)
{
- if( !rVal.hasValue() || rVal.getValueType() != ::getCppuBooleanType() )
+ if( !rVal.hasValue() || rVal.getValueType() != cppu::UnoType<bool>::get() )
return false;
SetValue( *static_cast<sal_Bool const *>(rVal.getValue()) );
@@ -2094,13 +2094,13 @@ bool XLineEndCenterItem::GetPresentation
bool XLineEndCenterItem::QueryValue( ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/) const
{
sal_Bool bValue = GetValue();
- rVal.setValue( &bValue, ::getCppuBooleanType() );
+ rVal.setValue( &bValue, cppu::UnoType<bool>::get() );
return true;
}
bool XLineEndCenterItem::PutValue( const ::com::sun::star::uno::Any& rVal, sal_uInt8 /*nMemberId*/)
{
- if( !rVal.hasValue() || rVal.getValueType() != ::getCppuBooleanType() )
+ if( !rVal.hasValue() || rVal.getValueType() != cppu::UnoType<bool>::get() )
return false;
SetValue( *static_cast<sal_Bool const *>(rVal.getValue()) );