package/inc/ZipPackage.hxx | 6 ------ package/source/zippackage/ZipPackage.cxx | 11 ----------- 2 files changed, 17 deletions(-)
New commits: commit cb004bdefb495f151d8a69953774582cf470f6e6 Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Jan 16 10:27:59 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Jan 17 07:49:12 2023 +0000 XUnoTunnel->dynamic_cast in ZipPackage Change-Id: I4ecfbb0e90cca7e81556fb27fd552669bed0405c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145631 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/package/inc/ZipPackage.hxx b/package/inc/ZipPackage.hxx index a4eeed261d1e..e07a8d9c1c9e 100644 --- a/package/inc/ZipPackage.hxx +++ b/package/inc/ZipPackage.hxx @@ -24,7 +24,6 @@ #include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/util/XChangesBatch.hpp> -#include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/NamedValue.hpp> @@ -61,7 +60,6 @@ class ZipPackage final : public cppu::WeakImplHelper < css::lang::XInitialization, css::lang::XSingleServiceFactory, - css::lang::XUnoTunnel, css::lang::XServiceInfo, css::container::XHierarchicalNameAccess, css::util::XChangesBatch, @@ -144,10 +142,6 @@ public: virtual void SAL_CALL commitChanges( ) override; virtual sal_Bool SAL_CALL hasPendingChanges( ) override; virtual css::uno::Sequence< css::util::ElementChange > SAL_CALL getPendingChanges( ) override; - // XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; - /// @throws css::uno::RuntimeException - static const css::uno::Sequence < sal_Int8 > & getUnoTunnelId(); // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) override; virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override; diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx index 6316498ef0b8..9bf6f5e9b24c 100644 --- a/package/source/zippackage/ZipPackage.cxx +++ b/package/source/zippackage/ZipPackage.cxx @@ -1664,17 +1664,6 @@ sal_Bool SAL_CALL ZipPackage::supportsService( OUString const & rServiceName ) return cppu::supportsService(this, rServiceName); } -const Sequence< sal_Int8 > & ZipPackage::getUnoTunnelId() -{ - static const comphelper::UnoIdInit implId; - return implId.getSeq(); -} - -sal_Int64 SAL_CALL ZipPackage::getSomething( const uno::Sequence< sal_Int8 >& aIdentifier ) -{ - return comphelper::getSomethingImpl(aIdentifier, this); -} - uno::Reference< XPropertySetInfo > SAL_CALL ZipPackage::getPropertySetInfo() { return uno::Reference < XPropertySetInfo > ();