diff options
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 ) |