diff --git a/sw/inc/index.hxx b/sw/inc/index.hxx index e430fa8ff135..a1d5da7af1f8 100644 --- a/sw/inc/index.hxx +++ b/sw/inc/index.hxx @@ -131,10 +131,6 @@ public: SwIndexReg(); virtual ~SwIndexReg(); - /// rtti, derived classes might do the same. If so, one can cast typesavely - /// via SwIndexReg. - TYPEINFO(); - void MoveTo( SwIndexReg& rArr ); const SwIndex* GetFirstIndex() const { return m_pFirst; } }; diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx index edc2218491f1..c79005b4611c 100644 --- a/sw/source/core/bastyp/index.cxx +++ b/sw/source/core/bastyp/index.cxx @@ -24,8 +24,6 @@ #include -TYPEINIT0(SwIndexReg); - SwIndex::SwIndex(SwIndexReg *const pReg, sal_Int32 const nIdx) : m_nIndex( nIdx ) , m_pIndexReg( pReg ) diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx index a7c205563a02..c7765128011b 100644 --- a/sw/source/core/docnode/node.cxx +++ b/sw/source/core/docnode/node.cxx @@ -69,7 +69,7 @@ using namespace ::com::sun::star::i18n; -TYPEINIT2( SwContentNode, SwModify, SwIndexReg ) +TYPEINIT1( SwContentNode, SwModify ) /* * Some local helper functions for the attribute set handle of a content node.