xmlscript/source/xml_helper/xml_impctx.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6868a857fc8a5256b47da239b573b27d40002080 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Sun Apr 23 20:15:55 2023 +0300 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sat May 6 12:28:01 2023 +0200 Use getXWeak in xmlscript Change-Id: I00f644392860162cf7294ff8119bf00a5ec69b3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150889 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> 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