summaryrefslogtreecommitdiff
path: root/cppuhelper/source/component_context.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/source/component_context.cxx')
-rw-r--r--cppuhelper/source/component_context.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx
index 8f722f0a90d3..9045c4ff2ed1 100644
--- a/cppuhelper/source/component_context.cxx
+++ b/cppuhelper/source/component_context.cxx
@@ -172,9 +172,9 @@ static OUString val2str( void const * pVal, typelib_TypeDescriptionReference * p
buf.append( (*(typelib_TypeDescriptionReference **)pVal)->pTypeName );
break;
case typelib_TypeClass_STRING:
- buf.append( (sal_Unicode)'\"' );
+ buf.append( '\"' );
buf.append( *(rtl_uString **)pVal );
- buf.append( (sal_Unicode)'\"' );
+ buf.append( '\"' );
break;
case typelib_TypeClass_ENUM:
{
@@ -194,7 +194,7 @@ static OUString val2str( void const * pVal, typelib_TypeDescriptionReference * p
if (nPos >= 0)
buf.append( ((typelib_EnumTypeDescription *)pTypeDescr)->ppEnumNames[ nPos ] );
else
- buf.append( (sal_Unicode)'?' );
+ buf.append( '?' );
::typelib_typedescription_release( pTypeDescr );
break;
@@ -206,9 +206,9 @@ static OUString val2str( void const * pVal, typelib_TypeDescriptionReference * p
buf.append( "false" );
break;
case typelib_TypeClass_CHAR:
- buf.append( (sal_Unicode)'\'' );
+ buf.append( '\'' );
buf.append( *(sal_Unicode *)pVal );
- buf.append( (sal_Unicode)'\'' );
+ buf.append( '\'' );
break;
case typelib_TypeClass_FLOAT:
buf.append( *(float *)pVal );
@@ -253,7 +253,7 @@ static OUString val2str( void const * pVal, typelib_TypeDescriptionReference * p
#endif
break;
default:
- buf.append( (sal_Unicode)'?' );
+ buf.append( '?' );
}
return buf.makeStringAndClear();