summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/misc/documentinfo.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/misc/documentinfo.cxx b/comphelper/source/misc/documentinfo.cxx
index 5c460e07f043..8d96d5f5e77e 100644
--- a/comphelper/source/misc/documentinfo.cxx
+++ b/comphelper/source/misc/documentinfo.cxx
@@ -30,7 +30,6 @@
#include <cppuhelper/exc_hlp.hxx>
#include <osl/diagnose.h>
-#include <osl/thread.h>
#include <sal/log.hxx>
namespace comphelper {
@@ -147,6 +146,7 @@ namespace comphelper {
}
catch ( const Exception& )
{
+ // Cannot use tools::exceptionToString here, because the tools module depends on the comphelper module
css::uno::Any caught( ::cppu::getCaughtException() );
css::uno::Exception exception;
caught >>= exception;