From 2ee43cff5cf0e4125e7b2bbb7c763069c6aca95c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 9 Apr 2018 15:10:40 +0300 Subject: Prepare to handle out (and inout) parameters to event callbacks Change-Id: I47054c1df40d1058618b0fbd3fdb82fa93ca8836 --- sw/inc/docsh.hxx | 2 +- sw/inc/swmodule.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'sw/inc') diff --git a/sw/inc/docsh.hxx b/sw/inc/docsh.hxx index dc8214c534d8..d93f626b585b 100644 --- a/sw/inc/docsh.hxx +++ b/sw/inc/docsh.hxx @@ -314,7 +314,7 @@ public: virtual bool GetProtectionHash( /*out*/ css::uno::Sequence< sal_Int8 > &rPasswordHash ) override; void RegisterAutomationDocumentEventsCaller(css::uno::Reference< ooo::vba::XSinkCaller > const& xCaller); - void CallAutomationDocumentEventSinks(const OUString& Method, const css::uno::Sequence< css::uno::Any >& Arguments); + void CallAutomationDocumentEventSinks(const OUString& Method, css::uno::Sequence< css::uno::Any >& Arguments); }; /** Find the right DocShell and create a new one: diff --git a/sw/inc/swmodule.hxx b/sw/inc/swmodule.hxx index b9d871a50b08..8539f7fd479c 100644 --- a/sw/inc/swmodule.hxx +++ b/sw/inc/swmodule.hxx @@ -248,7 +248,7 @@ public: GetLanguageGuesser(); void RegisterAutomationApplicationEventsCaller(css::uno::Reference< ooo::vba::XSinkCaller > const& xCaller); - void CallAutomationApplicationEventSinks(const OUString& Method, const css::uno::Sequence< css::uno::Any >& Arguments); + void CallAutomationApplicationEventSinks(const OUString& Method, css::uno::Sequence< css::uno::Any >& Arguments); }; inline const css::uno::Reference< css::linguistic2::XLinguServiceEventListener >& -- cgit