summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 253b0f418680..889179cab375 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2288,9 +2288,12 @@ IntrospectionAccessStatic_Impl* ImplIntrospection::implInspect(const Any& aToIns
}
else
{
- OSL_FAIL( OString( "Introspection: Property \"" ) +
- OUStringToOString( aPropName, RTL_TEXTENCODING_ASCII_US ) +
- OString( "\" found more than once in PropertySet" ) );
+ OSL_FAIL(
+ (OString("Introspection: Property \"") +
+ OUStringToOString(
+ aPropName, RTL_TEXTENCODING_UTF8) +
+ OString("\" found more than once in PropertySet")).
+ getStr());
}
// Count pflegen