sc/source/filter/xml/xmltransformationi.cxx | 4 +++- sc/source/filter/xml/xmltransformationi.hxx | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-)
New commits: commit 9d3eb9af2686dab7d52af00628269a8348ebd965 Author: Caolán McNamara <[email protected]> AuthorDate: Mon Dec 22 19:04:37 2025 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Mon Dec 22 22:25:13 2025 +0100 cid#1677776 Uncaught exception Change-Id: If0af06be9e55ac91b02e53a7fedd49cb458b32b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196107 Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sc/source/filter/xml/xmltransformationi.cxx b/sc/source/filter/xml/xmltransformationi.cxx index acc94ec3e2f0..7ef516568207 100644 --- a/sc/source/filter/xml/xmltransformationi.cxx +++ b/sc/source/filter/xml/xmltransformationi.cxx @@ -235,7 +235,7 @@ ScXMLColumnSortContext::ScXMLColumnSortContext( { } -ScXMLColumnSortContext::~ScXMLColumnSortContext() +void ScXMLColumnSortContext::ImplDestroy() { ScDocument* pDoc = GetScImport().GetDocument(); assert(pDoc); @@ -266,6 +266,8 @@ ScXMLColumnSortContext::~ScXMLColumnSortContext() } } +ScXMLColumnSortContext::~ScXMLColumnSortContext() { suppress_fun_call_w_exception(ImplDestroy()); } + uno::Reference<xml::sax::XFastContextHandler> SAL_CALL ScXMLColumnSortContext::createFastChildContext( sal_Int32 nElement, const uno::Reference<xml::sax::XFastAttributeList>& xAttrList) diff --git a/sc/source/filter/xml/xmltransformationi.hxx b/sc/source/filter/xml/xmltransformationi.hxx index cf6e951fe857..cc1558d7dfdc 100644 --- a/sc/source/filter/xml/xmltransformationi.hxx +++ b/sc/source/filter/xml/xmltransformationi.hxx @@ -74,6 +74,8 @@ class ScXMLColumnSortContext : public ScXMLImportContext { ScSortParam maSortParam; + void ImplDestroy(); + public: ScXMLColumnSortContext(ScXMLImport& rImport, const rtl::Reference<sax_fastparser::FastAttributeList>& rAttrList);
