filter/source/xsltfilter/XSLTFilter.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8467aa93e2038b3030e1add94e0ca6cc4ad44032 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Wed Nov 23 15:59:08 2022 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Thu Nov 24 10:54:25 2022 +0100 Replace a dynamic_cast with UNO_QUERY Change-Id: Id50f09150fc2c235787c51361d00416119e11937 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143201 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/filter/source/xsltfilter/XSLTFilter.cxx b/filter/source/xsltfilter/XSLTFilter.cxx index 0eb4c863b24f..8ebbd874ed1e 100644 --- a/filter/source/xsltfilter/XSLTFilter.cxx +++ b/filter/source/xsltfilter/XSLTFilter.cxx @@ -366,8 +366,8 @@ namespace XSLT aInput.sPublicId = aURL; aInput.aInputStream = pipein; - css::uno::Reference< css::xml::sax::XFastParser > xFastParser = dynamic_cast< - css::xml::sax::XFastParser* >( xHandler.get() ); + css::uno::Reference< css::xml::sax::XFastParser > xFastParser( + xHandler, css::uno::UNO_QUERY ); // transform m_tcontrol->start();