diff options
-rw-r--r-- | editeng/source/uno/unofield.cxx | 12 | ||||
-rw-r--r-- | include/editeng/unofield.hxx | 7 |
2 files changed, 1 insertions, 18 deletions
diff --git a/editeng/source/uno/unofield.cxx b/editeng/source/uno/unofield.cxx index 022386fe3f0b..0264e52f0319 100644 --- a/editeng/source/uno/unofield.cxx +++ b/editeng/source/uno/unofield.cxx @@ -223,17 +223,6 @@ static tools::Time setTime( util::DateTime const & rDate ) -const css::uno::Sequence< sal_Int8 > & SvxUnoTextField::getUnoTunnelId() noexcept -{ - static const comphelper::UnoIdInit theSvxUnoTextFieldUnoTunnelId; - return theSvxUnoTextFieldUnoTunnelId.getSeq(); -} - -sal_Int64 SAL_CALL SvxUnoTextField::getSomething( const css::uno::Sequence< sal_Int8 >& rId ) -{ - return comphelper::getSomethingImpl(rId, this); -} - SvxUnoTextField::SvxUnoTextField( sal_Int32 nServiceId ) noexcept : OComponentHelper( m_aMutex ) , mpPropSet(nullptr) @@ -547,7 +536,6 @@ uno::Any SAL_CALL SvxUnoTextField::queryAggregation( const uno::Type & rType ) else QUERYINT( text::XTextContent ); else QUERYINT( text::XTextField ); else QUERYINT( lang::XServiceInfo ); - else QUERYINT( lang::XUnoTunnel ); else return OComponentHelper::queryAggregation( rType ); diff --git a/include/editeng/unofield.hxx b/include/editeng/unofield.hxx index 740a25a5bdb5..62a702904b08 100644 --- a/include/editeng/unofield.hxx +++ b/include/editeng/unofield.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_EDITENG_UNOFIELD_HXX #define INCLUDED_EDITENG_UNOFIELD_HXX -#include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/text/XTextField.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -46,8 +45,7 @@ class EDITENG_DLLPUBLIC SvxUnoTextField final : public cppu::BaseMutex, public ::cppu::OComponentHelper, public css::text::XTextField, public css::beans::XPropertySet, - public css::lang::XServiceInfo, - public css::lang::XUnoTunnel + public css::lang::XServiceInfo { css::uno::Reference< css::text::XTextRange > mxAnchor; const SfxItemPropertySet* mpPropSet; @@ -63,9 +61,6 @@ public: // Internal std::unique_ptr<SvxFieldData> CreateFieldData() const noexcept; - static const css::uno::Sequence< sal_Int8 > & getUnoTunnelId() noexcept; - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; - // css::uno::XInterface virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override; virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; |