summaryrefslogtreecommitdiff
path: root/sw/source
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 /sw/source
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 'sw/source')
-rw-r--r--sw/source/core/access/accmap.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index 919339648438..997a5d82cbc8 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -172,10 +172,7 @@ void SwDrawModellListener_Impl::Notify( SfxBroadcaster& /*rBC*/,
}
catch( uno::RuntimeException const & r )
{
- (void)r;
-#if OSL_DEBUG_LEVEL > 0
- OSL_FAIL( OString("Runtime exception caught while notifying shape.:\n" + OUStringToOString(r.Message, RTL_TEXTENCODING_ASCII_US)).getStr());
-#endif
+ SAL_WARN( "sw.core", "Runtime exception caught while notifying shape.: " << r.Message );
}
}
}