sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit e7daf050d07e6f2aeaa31f24d3b66f6fb2da789c Author: Noel Grandin <[email protected]> AuthorDate: Fri Feb 6 13:03:52 2026 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Sat Feb 7 12:36:26 2026 +0100 rather dont catch ... here it tends to hide problems we want to find Change-Id: I02fc91648955d2ef852e264e9ad0ade13af2c3c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198831 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx b/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx index 43aa24ba04c8..3dd66fb798d8 100644 --- a/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx +++ b/sw/source/writerfilter/dmapper/DomainMapper_Impl.cxx @@ -6234,9 +6234,9 @@ void DomainMapper_Impl::AttachTextBoxContentToShape(const css::uno::Reference<cs { xProps->setPropertyValue(u"TextBoxContent"_ustr, uno::Any(uno::Reference< text::XTextFrame >(xTextBox))); } - catch (...) + catch (const uno::Exception&) { - SAL_WARN("writerfilter.dmapper", "Exception while trying to attach textboxes!"); + TOOLS_WARN_EXCEPTION("writerfilter.dmapper", "Exception while trying to attach textboxes!"); return; } @@ -6297,9 +6297,9 @@ void DomainMapper_Impl::AttachTextBoxContentToShape(const css::uno::Reference<cs m_vTextFramesForChaining.push_back(xShape); } } - catch (...) + catch (const uno::Exception&) { - SAL_WARN("writerfilter.dmapper", "Exception while trying to link textboxes!"); + TOOLS_WARN_EXCEPTION("writerfilter.dmapper", "Exception while trying to link textboxes!"); } }
