From fc41f4d58c7c0e60025c1b43127ef1b3c87fa1ac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 14 Jan 2023 12:41:58 +0200 Subject: XUnoTunnel->dynamic_cast in Submission Change-Id: I2bafbecdd1b3f16375880e49708fe932db060812 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145626 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/xforms/submission.cxx | 7 ------- forms/source/xforms/submission.hxx | 9 --------- 2 files changed, 16 deletions(-) diff --git a/forms/source/xforms/submission.cxx b/forms/source/xforms/submission.cxx index 7a27305760e3..fde73057b4e4 100644 --- a/forms/source/xforms/submission.cxx +++ b/forms/source/xforms/submission.cxx @@ -384,13 +384,6 @@ void SAL_CALL Submission::setName( const OUString& sID ) } -sal_Int64 SAL_CALL Submission::getSomething( - const Sequence& aId ) -{ - return comphelper::getSomethingImpl(aId, this); -} - - static OUString lcl_message( std::u16string_view rID, std::u16string_view rText ) { OUString aMessage = OUString::Concat("XForms submission '") + rID + "' failed" + rText + "."; diff --git a/forms/source/xforms/submission.hxx b/forms/source/xforms/submission.hxx index 31c5b9af07b9..8dbfb2b3f1aa 100644 --- a/forms/source/xforms/submission.hxx +++ b/forms/source/xforms/submission.hxx @@ -21,7 +21,6 @@ #include #include "propertysetbase.hxx" -#include #include #include #include @@ -52,7 +51,6 @@ namespace xforms */ typedef cppu::ImplInheritanceHelper< PropertySetBase, - css::lang::XUnoTunnel, css::xforms::XSubmission > Submission_t; @@ -194,13 +192,6 @@ public: virtual void SAL_CALL setName( const OUString& ) override; - // XUnoTunnel - - - virtual sal_Int64 SAL_CALL getSomething( - const css::uno::Sequence& ) override; - - // XSubmission -- cgit