diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-06 09:33:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-06 13:07:42 +0200 |
commit | fc3d33858629279f88717e3cec9b1761de890774 (patch) | |
tree | de1c27d3c16f1b3b1a6f38772170c17d4a183d7b /xmloff | |
parent | a06c580643ebcca37f0baac009534fd826602966 (diff) |
improve debug logging in SdXMLShapeContext::AddShape
so we get source info for the exception
Change-Id: Icd54a4d1388c7a48ab3e0c8bd17c21f6004a470b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156589
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximpshap.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx index c64a80b756a1..6dea8cab5e2f 100644 --- a/xmloff/source/draw/ximpshap.cxx +++ b/xmloff/source/draw/ximpshap.cxx @@ -513,6 +513,7 @@ void SdXMLShapeContext::AddShape(OUString const & serviceName) } catch(const uno::Exception& e) { + TOOLS_WARN_EXCEPTION("xmloff", "AddShape " << serviceName); uno::Sequence<OUString> aSeq { serviceName }; GetImport().SetError( XMLERROR_FLAG_ERROR | XMLERROR_API, aSeq, e.Message, nullptr ); |