summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/Library_expwrap.mk1
-rw-r--r--sax/source/fastparser/fastparser.cxx4
2 files changed, 3 insertions, 2 deletions
diff --git a/sax/Library_expwrap.mk b/sax/Library_expwrap.mk
index 076814aab0e8..17a91e4d5904 100644
--- a/sax/Library_expwrap.mk
+++ b/sax/Library_expwrap.mk
@@ -36,6 +36,7 @@ $(eval $(call gb_Library_use_libraries,expwrap,\
sal \
salhelper \
sax \
+ tl \
))
$(eval $(call gb_Library_add_exception_objects,expwrap,\
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 1e8b578e325f..6d888f2d1115 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -39,6 +39,7 @@
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <salhelper/thread.hxx>
+#include <tools/diagnose_ex.h>
#include <queue>
#include <memory>
@@ -610,8 +611,7 @@ void Entity::saveException( const Any & e )
// fdo#81214 - allow the parser to run on after an exception,
// unexpectedly some 'startElements' produce an UNO_QUERY_THROW
// for XComponent; and yet expect to continue parsing.
- SAL_WARN("sax", "Unexpected exception from XML parser "
- << e.get<Exception>());
+ SAL_WARN("sax", "Unexpected exception from XML parser " << exceptionToString(e));
osl::MutexGuard g(maSavedExceptionMutex);
if (maSavedException.hasValue())
{