summaryrefslogtreecommitdiff
path: root/sc/inc/textuno.hxx
diff options
context:
space:
mode:
authorArkadiy Illarionov <qarkai@gmail.com>2019-06-01 20:50:37 +0300
committerStephan Bergmann <sbergman@redhat.com>2019-06-03 09:32:50 +0200
commit09c657ebe69fe1c2516a10a4452996870f4237d2 (patch)
tree1e0d6154aa3674599994bd8a4a90e1e4a83af813 /sc/inc/textuno.hxx
parent675a3928e1cab27cf310c316be65acdbb764ed65 (diff)
tdf#39593 use UNO3_GETIMPLEMENTATION* macros
Change-Id: I4e9af3b43a5baf19e100f42b3f37a2ade89ada5d Reviewed-on: https://gerrit.libreoffice.org/73320 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/inc/textuno.hxx')
-rw-r--r--sc/inc/textuno.hxx16
1 files changed, 4 insertions, 12 deletions
diff --git a/sc/inc/textuno.hxx b/sc/inc/textuno.hxx
index 5467c4eb6726..7666c2691249 100644
--- a/sc/inc/textuno.hxx
+++ b/sc/inc/textuno.hxx
@@ -27,6 +27,7 @@
#include <com/sun/star/sheet/XHeaderFooterContent.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
+#include <comphelper/servicehelper.hxx>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/weakref.hxx>
@@ -236,10 +237,7 @@ public:
getEnd() override;
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
-
- static const css::uno::Sequence<sal_Int8>& getUnoTunnelId();
- static ScCellTextCursor* getImplementation(const css::uno::Reference< css::uno::XInterface>& rObj);
+ UNO3_GETIMPLEMENTATION_DECL(ScCellTextCursor)
};
class ScHeaderFooterTextCursor : public SvxUnoTextCursor
@@ -265,10 +263,7 @@ public:
getEnd() override;
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
-
- static const css::uno::Sequence<sal_Int8>& getUnoTunnelId();
- static ScHeaderFooterTextCursor* getImplementation(const css::uno::Reference<css::uno::XInterface>& rObj);
+ UNO3_GETIMPLEMENTATION_DECL(ScHeaderFooterTextCursor)
};
class ScDrawTextCursor : public SvxUnoTextCursor
@@ -295,10 +290,7 @@ public:
getEnd() override;
// XUnoTunnel
- virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
-
- static const css::uno::Sequence<sal_Int8>& getUnoTunnelId();
- static ScDrawTextCursor* getImplementation(const css::uno::Reference<css::uno::XInterface>& rObj);
+ UNO3_GETIMPLEMENTATION_DECL(ScDrawTextCursor)
};
// ScAnnotationTextCursor isn't needed anymore - SvxUnoTextCursor is used instead