summaryrefslogtreecommitdiff
path: root/comphelper/source/property/propertycontainerhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper/source/property/propertycontainerhelper.cxx')
-rw-r--r--comphelper/source/property/propertycontainerhelper.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx
index 1d4a91197391..335919b02cb7 100644
--- a/comphelper/source/property/propertycontainerhelper.cxx
+++ b/comphelper/source/property/propertycontainerhelper.cxx
@@ -202,14 +202,14 @@ namespace
void lcl_throwIllegalPropertyValueTypeException( const PropertyDescription& _rProperty, const Any& _rValue )
{
OUStringBuffer aErrorMessage;
- aErrorMessage.appendAscii( "The given value cannot be converted to the required property type." );
- aErrorMessage.appendAscii( "\n(property name \"" );
+ aErrorMessage.append( "The given value cannot be converted to the required property type." );
+ aErrorMessage.append( "\n(property name \"" );
aErrorMessage.append( _rProperty.aProperty.Name );
- aErrorMessage.appendAscii( "\", found value type \"" );
+ aErrorMessage.append( "\", found value type \"" );
aErrorMessage.append( _rValue.getValueType().getTypeName() );
- aErrorMessage.appendAscii( "\", required property type \"" );
+ aErrorMessage.append( "\", required property type \"" );
aErrorMessage.append( _rProperty.aProperty.Type.getTypeName() );
- aErrorMessage.appendAscii( "\")" );
+ aErrorMessage.append( "\")" );
throw IllegalArgumentException( aErrorMessage.makeStringAndClear(), NULL, 4 );
}
}