summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-30 04:57:16 +0100
committerDavid Tardon <dtardon@redhat.com>2013-03-30 17:37:54 +0000
commit083092e808ed94325f103a721cc11882c6878b06 (patch)
treea2c0f1df692585d0fbe78f996e2e0ff89489f097 /stoc
parent3e0ff98f5371db2270a607306ae498f8d0d02d1d (diff)
OSL_FAIL -> SAL_WARN
Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'stoc')
-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;
}