summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2023-04-23 20:15:55 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2023-05-06 12:28:01 +0200
commit6868a857fc8a5256b47da239b573b27d40002080 (patch)
tree6d28a936f9eb4f817fd6e26efcaeffd7c66e7e28 /xmlscript
parentaf623298ca32543017672bb687e356bf5819b128 (diff)
Use getXWeak in xmlscript
Change-Id: I00f644392860162cf7294ff8119bf00a5ec69b3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150889 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xml_helper/xml_impctx.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index 000de7e94072..e38263243717 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -400,7 +400,7 @@ OUString DocumentHandlerImpl::getUriByUid( sal_Int32 Uid )
if (rURIUid.second == Uid)
return rURIUid.first;
}
- throw container::NoSuchElementException( "no such xmlns uid!" , static_cast< OWeakObject * >(this) );
+ throw container::NoSuchElementException( "no such xmlns uid!" , getXWeak() );
}
// XDocumentHandler