diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-16 10:36:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-01-17 19:09:51 +0000 |
commit | a04bf69bccfbc266643b418ef57030a42bbb5c05 (patch) | |
tree | 785dc34a97856679630d5ba677939a6845ab5207 /package/inc/ZipPackageFolder.hxx | |
parent | c4341c95a2be2e0210d5f8f15d4dd80d9077c4af (diff) |
XUnoTunnel->dynamic_cast in ZipPackageEntry
Change-Id: I0c49ebcb0ed16ab5b90c0cfa1417f002b5dad7b8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145632
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'package/inc/ZipPackageFolder.hxx')
-rw-r--r-- | package/inc/ZipPackageFolder.hxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/package/inc/ZipPackageFolder.hxx b/package/inc/ZipPackageFolder.hxx index 82582293158f..cfdcd99d1694 100644 --- a/package/inc/ZipPackageFolder.hxx +++ b/package/inc/ZipPackageFolder.hxx @@ -23,9 +23,9 @@ #include <com/sun/star/container/XEnumerationAccess.hpp> #include <com/sun/star/beans/StringPair.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/lang/XUnoTunnel.hpp> #include "ZipPackageEntry.hxx" #include <cppuhelper/implbase.hxx> +#include <rtl/ref.hxx> #include <string_view> #include <unordered_map> @@ -38,7 +38,7 @@ class ZipPackageStream; struct ZipContentInfo { - css::uno::Reference < css::lang::XUnoTunnel > xTunnel; + rtl::Reference < ZipPackageEntry > xPackageEntry; bool bFolder; union { @@ -91,8 +91,6 @@ public: ZipContentInfo& doGetByName( const OUString& aName ); - static const css::uno::Sequence < sal_Int8 > & getUnoTunnelId(); - void setPackageFormat_Impl( sal_Int32 nFormat ) { m_nFormat = nFormat; } void setRemoveOnInsertMode_Impl( bool bRemove ) { mbAllowRemoveOnInsert = bRemove; } @@ -136,9 +134,6 @@ public: virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const css::uno::Any& aValue ) override; virtual css::uno::Any SAL_CALL getPropertyValue( const OUString& PropertyName ) override; - // XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override; - // XServiceInfo virtual OUString SAL_CALL getImplementationName( ) override; virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; |