summaryrefslogtreecommitdiff
path: root/stoc/source/inspect/introspection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/inspect/introspection.cxx')
-rw-r--r--stoc/source/inspect/introspection.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 24cd0cc614a0..a7cea62c707f 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -2148,10 +2148,8 @@ rtl::Reference< IntrospectionAccessStatic_Impl > ImplIntrospection::implInspect(
}
else
{
- OSL_FAIL(
- OString( ::rtl::OString( "Introspection: Property \"" ) +
- ::rtl::OUStringToOString( aPropName, RTL_TEXTENCODING_UTF8 ) +
- ::rtl::OString( "\" found more than once in PropertySet" ) ).getStr() );
+ SAL_WARN( "stoc", "Introspection: Property \"" <<
+ aPropName << "\" found more than once in PropertySet" );
}
// Count pflegen
@@ -2798,7 +2796,7 @@ rtl::Reference< IntrospectionAccessStatic_Impl > ImplIntrospection::implInspect(
Reference<XIdlClass> xClassRef = TypeToIdlClass( aToInspectObj.getValueType(), m_xSMgr );
if( !xClassRef.is() )
{
- OSL_FAIL( "Can't get XIdlClass from Reflection" );
+ SAL_WARN( "stoc", "Can't get XIdlClass from Reflection" );
return pAccess;
}