From 083092e808ed94325f103a721cc11882c6878b06 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 30 Mar 2013 04:57:16 +0100 Subject: OSL_FAIL -> SAL_WARN Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon Tested-by: David Tardon --- stoc/source/inspect/introspection.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'stoc') 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 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; } -- cgit