summaryrefslogtreecommitdiff
path: root/sw/source/ui
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-04-09 15:10:40 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-31 13:16:27 +0300
commit2ee43cff5cf0e4125e7b2bbb7c763069c6aca95c (patch)
tree2ea731303783529c94b4a73e4a6a0f6690316a1a /sw/source/ui
parent6c8c727ffd97e247f1ea43c1a47a55e6d5f68331 (diff)
Prepare to handle out (and inout) parameters to event callbacks
Change-Id: I47054c1df40d1058618b0fbd3fdb82fa93ca8836
Diffstat (limited to 'sw/source/ui')
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx2
-rw-r--r--sw/source/ui/vba/vbaapplication.hxx2
-rw-r--r--sw/source/ui/vba/vbadocument.cxx2
-rw-r--r--sw/source/ui/vba/vbadocument.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index d76e7730a783..45c53114e2cc 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -267,7 +267,7 @@ SwVbaApplicationOutgoingConnectionPoint::SwVbaApplicationOutgoingConnectionPoint
// XSinkCaller
void SAL_CALL
-SwVbaApplication::CallSinks( const OUString& Method, const uno::Sequence< uno::Any >& Arguments )
+SwVbaApplication::CallSinks( const OUString& Method, uno::Sequence< uno::Any >& Arguments )
{
for (auto& i : mvSinks)
{
diff --git a/sw/source/ui/vba/vbaapplication.hxx b/sw/source/ui/vba/vbaapplication.hxx
index 681c4f9159c6..a8763cc15d6e 100644
--- a/sw/source/ui/vba/vbaapplication.hxx
+++ b/sw/source/ui/vba/vbaapplication.hxx
@@ -87,7 +87,7 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
// XSinkCaller
- virtual void SAL_CALL CallSinks( const OUString& Method, const css::uno::Sequence< css::uno::Any >& Arguments ) override;
+ virtual void SAL_CALL CallSinks( const OUString& Method, css::uno::Sequence< css::uno::Any >& Arguments ) override;
protected:
virtual css::uno::Reference< css::frame::XModel > getCurrentDocument() override;
diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx
index 47abf61c1b03..b2413cb178e2 100644
--- a/sw/source/ui/vba/vbadocument.cxx
+++ b/sw/source/ui/vba/vbadocument.cxx
@@ -561,7 +561,7 @@ SwVbaDocument::GetConnectionPoint()
// XSinkCaller
void SAL_CALL
-SwVbaDocument::CallSinks( const OUString& Method, const uno::Sequence< uno::Any >& Arguments )
+SwVbaDocument::CallSinks( const OUString& Method, uno::Sequence< uno::Any >& Arguments )
{
for (auto& i : mvSinks)
{
diff --git a/sw/source/ui/vba/vbadocument.hxx b/sw/source/ui/vba/vbadocument.hxx
index 61ce2a7ab8bd..7cbc63773319 100644
--- a/sw/source/ui/vba/vbadocument.hxx
+++ b/sw/source/ui/vba/vbadocument.hxx
@@ -106,7 +106,7 @@ public:
virtual css::uno::Sequence<OUString> getServiceNames() override;
// XSinkCaller
- virtual void SAL_CALL CallSinks( const OUString& Method, const css::uno::Sequence< css::uno::Any >& Arguments ) override;
+ virtual void SAL_CALL CallSinks( const OUString& Method, css::uno::Sequence< css::uno::Any >& Arguments ) override;
};
#endif // INCLUDED_SW_SOURCE_UI_VBA_VBADOCUMENT_HXX