summaryrefslogtreecommitdiff
path: root/sd/source/helper/simplereferencecomponent.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/helper/simplereferencecomponent.cxx')
-rw-r--r--sd/source/helper/simplereferencecomponent.cxx12
1 files changed, 3 insertions, 9 deletions
diff --git a/sd/source/helper/simplereferencecomponent.cxx b/sd/source/helper/simplereferencecomponent.cxx
index 57c792ea5b0c..d17abdc8aadc 100644
--- a/sd/source/helper/simplereferencecomponent.cxx
+++ b/sd/source/helper/simplereferencecomponent.cxx
@@ -52,16 +52,10 @@ void SimpleReferenceComponent::release()
{
Dispose();
}
- catch (RuntimeException &
-#if OSL_DEBUG_LEVEL > 0
- exc
-#endif
- ) // don't break throw ()
+ catch (RuntimeException & exc ) // don't break throw ()
{
-#if OSL_DEBUG_LEVEL > 0
- OString msg( OUStringToOString( exc.Message, RTL_TEXTENCODING_ASCII_US ) );
- OSL_FAIL( msg.getStr() );
-#endif
+ (void)exc;
+ SAL_WARN( "sd", exc.Message );
}
}