summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/uno/mapping.hxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/uno/mapping.hxx b/include/uno/mapping.hxx
index 07518b0fcf3c..698733840058 100644
--- a/include/uno/mapping.hxx
+++ b/include/uno/mapping.hxx
@@ -317,9 +317,7 @@ template< class C >
SAL_DEPRECATED("use uno_Mapping")
inline bool mapToCpp( Reference< C > * ppRet, uno_Interface * pUnoI )
{
- Mapping aMapping(
- ::rtl::OUString( UNO_LB_UNO ),
- ::rtl::OUString( CPPU_CURRENT_LANGUAGE_BINDING_NAME ) );
+ Mapping aMapping( UNO_LB_UNO, CPPU_CURRENT_LANGUAGE_BINDING_NAME );
OSL_ASSERT( aMapping.is() );
aMapping.mapInterface(
reinterpret_cast<void **>(ppRet), pUnoI, ::cppu::getTypeFavourUnsigned( ppRet ) );
@@ -341,9 +339,7 @@ template< class C >
SAL_DEPRECATED("use uno_Mapping")
inline bool mapToUno( uno_Interface ** ppRet, const Reference< C > & x )
{
- Mapping aMapping(
- ::rtl::OUString( CPPU_CURRENT_LANGUAGE_BINDING_NAME ),
- ::rtl::OUString( UNO_LB_UNO ) );
+ Mapping aMapping( CPPU_CURRENT_LANGUAGE_BINDING_NAME, UNO_LB_UNO );
OSL_ASSERT( aMapping.is() );
aMapping.mapInterface(
reinterpret_cast<void **>(ppRet), x.get(), ::cppu::getTypeFavourUnsigned( &x ) );