summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-01-16 10:27:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-01-17 07:49:12 +0000
commitcb004bdefb495f151d8a69953774582cf470f6e6 (patch)
tree947256ae49b238d33d19e75350fabe6297a934de /package
parent81fd038c81e5ebbb8a52d9b2fbdca1fd48f445e3 (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'package')
-rw-r--r--package/inc/ZipPackage.hxx6
-rw-r--r--package/source/zippackage/ZipPackage.cxx11
2 files changed, 0 insertions, 17 deletions
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 > ();