summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbaeventshelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2020-07-26 17:06:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-07-27 21:09:44 +0200
commitd12f2e9025250a7e310078ff736f8c6756cf894d (patch)
treec954fa66167e74ee547c3f063d7caa4a0cd0e011 /sw/source/ui/vba/vbaeventshelper.hxx
parent32f0a170c941522d0b7c0594aa4627a84a0d1b38 (diff)
sw/vba: create instances with uno constructors
See tdf#74608 for motivation. Change-Id: Ieaa5ef1eef7488d7b53454bdd3b14702de909beb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99519 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/vba/vbaeventshelper.hxx')
-rw-r--r--sw/source/ui/vba/vbaeventshelper.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbaeventshelper.hxx b/sw/source/ui/vba/vbaeventshelper.hxx
index 03a2f8a45f2b..31a6b2808ee9 100644
--- a/sw/source/ui/vba/vbaeventshelper.hxx
+++ b/sw/source/ui/vba/vbaeventshelper.hxx
@@ -30,6 +30,11 @@ public:
const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~SwVbaEventsHelper() override;
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
+
protected:
virtual bool implPrepareEvent( EventQueue& rEventQueue, const EventHandlerInfo& rInfo, const css::uno::Sequence< css::uno::Any >& rArgs ) override;
virtual css::uno::Sequence< css::uno::Any > implBuildArgumentList( const EventHandlerInfo& rInfo, const css::uno::Sequence< css::uno::Any >& rArgs ) override;