summaryrefslogtreecommitdiff
path: root/writerfilter/source/filter
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-11-22 18:01:32 +0100
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2011-11-23 11:24:06 +0100
commita45c82f930c1224928fd0a8f9ca3690ddd162366 (patch)
tree96e47eb60b06a197403ba17ea5a1cc7752444624 /writerfilter/source/filter
parenta910204348b032bae1882bf7f74085a0b8c529ca (diff)
Show some exception message when getting one in RtfFilter
Diffstat (limited to 'writerfilter/source/filter')
-rw-r--r--writerfilter/source/filter/RtfFilter.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/writerfilter/source/filter/RtfFilter.cxx b/writerfilter/source/filter/RtfFilter.cxx
index 4b214ab3ce5e..878653966e81 100644
--- a/writerfilter/source/filter/RtfFilter.cxx
+++ b/writerfilter/source/filter/RtfFilter.cxx
@@ -99,8 +99,13 @@ sal_Bool RtfFilter::filter( const uno::Sequence< beans::PropertyValue >& aDescri
#endif
return sal_True;
}
- catch (const uno::Exception&)
+ catch (const uno::Exception& e)
{
+#if OSL_DEBUG_LEVEL > 1
+ OSL_TRACE( "Exception caught: %s",
+ rtl::OUStringToOString( e.Message, RTL_TEXTENCODING_UTF8 ).getStr() );
+#endif
+ (void)e;
return sal_False;
}
}