summaryrefslogtreecommitdiff
path: root/sax/source/expatwrap
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-23 20:14:26 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-04-30 20:35:10 +0200
commitd4d994321464b1f0301c3cb86f55d851794d5f88 (patch)
tree934998d67d1303629086be96a3ac7babb0d35ef6 /sax/source/expatwrap
parentd74c010192a3d9605364bfb942f18c9199a75804 (diff)
Use getXWeak in sax
Change-Id: I24d61be2a1e1c21c08e50790b2d7bbb794c4fb07 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150862 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sax/source/expatwrap')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 708efc573983..3b75255ee9ef 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -1035,8 +1035,8 @@ public: // XActiveDataSource
}
catch (const SAXException& e)
{
- throw css::lang::WrappedTargetRuntimeException(
- e.Message, static_cast<OWeakObject*>(this), e.WrappedException);
+ throw css::lang::WrappedTargetRuntimeException(e.Message, getXWeak(),
+ e.WrappedException);
}
}
virtual Reference<XOutputStream> SAL_CALL getOutputStream() override { return m_out; }