diff options
Diffstat (limited to 'sw/source/core/inc/unorefmark.hxx')
-rw-r--r-- | sw/source/core/inc/unorefmark.hxx | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/sw/source/core/inc/unorefmark.hxx b/sw/source/core/inc/unorefmark.hxx index c65b65009f30..1d4ad9acec04 100644 --- a/sw/source/core/inc/unorefmark.hxx +++ b/sw/source/core/inc/unorefmark.hxx @@ -17,10 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_INC_UNOREFMARK_HXX -#define INCLUDED_SW_SOURCE_CORE_INC_UNOREFMARK_HXX +#pragma once -#include <com/sun/star/lang/XUnoTunnel.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XNamed.hpp> @@ -34,14 +32,13 @@ class SwDoc; class SwFormatRefMark; typedef ::cppu::WeakImplHelper -< css::lang::XUnoTunnel -, css::lang::XServiceInfo +< css::lang::XServiceInfo , css::beans::XPropertySet , css::container::XNamed , css::text::XTextContent > SwXReferenceMark_Base; -class SwXReferenceMark +class SwXReferenceMark final : public SwXReferenceMark_Base { @@ -56,15 +53,9 @@ private: public: - static css::uno::Reference<css::text::XTextContent> + static rtl::Reference<SwXReferenceMark> CreateXReferenceMark(SwDoc & rDoc, SwFormatRefMark * pMarkFormat); - static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId(); - - // XUnoTunnel - virtual sal_Int64 SAL_CALL getSomething( - const css::uno::Sequence< sal_Int8 >& rIdentifier) override; - // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; virtual sal_Bool SAL_CALL supportsService( @@ -111,6 +102,4 @@ public: }; -#endif // INCLUDED_SW_SOURCE_CORE_INC_UNOREFMARK_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |