diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:41:16 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-04-01 08:41:16 +0200 |
commit | a55166cc25351f43d502f6b23d75df824c05f01a (patch) | |
tree | 27a7ccda07631ceb08bfb08381ee3623e90e6a7b /svl/source/items/globalnameitem.cxx | |
parent | e1f3391a749873875e2e65bf9f36d242702b8006 (diff) |
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I641a3a1e2cf2c789844940d7231015cb85e3b8bc
Diffstat (limited to 'svl/source/items/globalnameitem.cxx')
-rw-r--r-- | svl/source/items/globalnameitem.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/globalnameitem.cxx b/svl/source/items/globalnameitem.cxx index 9a424bf77e79..6e1f5ff8a043 100644 --- a/svl/source/items/globalnameitem.cxx +++ b/svl/source/items/globalnameitem.cxx @@ -75,7 +75,7 @@ bool SfxGlobalNameItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt com::sun::star::uno::Sequence< sal_Int8 > aSeq; com::sun::star::uno::Any aNew; - try { aNew = xConverter->convertTo( rVal, ::getCppuType((const com::sun::star::uno::Sequence < sal_Int8 >*)0) ); } + try { aNew = xConverter->convertTo( rVal, cppu::UnoType<com::sun::star::uno::Sequence < sal_Int8 >>::get() ); } catch (com::sun::star::uno::Exception&) {} aNew >>= aSeq; if ( aSeq.getLength() == 16 ) |