summaryrefslogtreecommitdiff
path: root/sw/inc/unoidx.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/unoidx.hxx')
-rw-r--r--sw/inc/unoidx.hxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sw/inc/unoidx.hxx b/sw/inc/unoidx.hxx
index c545250783cb..fe42330685a6 100644
--- a/sw/inc/unoidx.hxx
+++ b/sw/inc/unoidx.hxx
@@ -36,6 +36,8 @@
#include <cppuhelper/implbase4.hxx>
#include <cppuhelper/implbase5.hxx>
+#include <sfx2/Metadatable.hxx>
+
#include <unocoll.hxx>
#include <toxe.hxx>
@@ -48,8 +50,9 @@ class SwTOXType;
*
* --------------------------------------------------*/
-typedef ::cppu::WeakImplHelper5
-< ::com::sun::star::lang::XUnoTunnel
+typedef ::cppu::ImplInheritanceHelper5
+< ::sfx2::MetadatableMixin
+, ::com::sun::star::lang::XUnoTunnel
, ::com::sun::star::lang::XServiceInfo
, ::com::sun::star::beans::XPropertySet
, ::com::sun::star::container::XNamed
@@ -81,6 +84,11 @@ public:
::com::sun::star::text::XDocumentIndex>
CreateXDocumentIndex(SwDoc & rDoc, SwTOXBaseSection const& rSection);
+ // MetadatableMixin
+ virtual ::sfx2::Metadatable* GetCoreObject();
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
+ GetModel();
+
static const ::com::sun::star::uno::Sequence< sal_Int8 > & getUnoTunnelId();
// XUnoTunnel