From 49181f4b2f3cc1eeb6d0ed0ad317c6f314bb5eba Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 7 Feb 2019 11:55:51 +0200 Subject: The parameter to WordBasic.AppShow() is optional and thus has to be an Any Change-Id: I134101d1be5922051e34352331a49f5706030ff2 --- sw/source/ui/vba/vbaapplication.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sw') diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index add0d31ca6eb..a1d902d61020 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -111,7 +111,7 @@ public: const css::uno::Any& OpenExclusive, const css::uno::Any& SubType) override; virtual sal_Int32 SAL_CALL AppMaximize( const OUString& WindowName, const css::uno::Any& State ) override; virtual sal_Int32 SAL_CALL DocMaximize( const css::uno::Any& State ) override; - virtual void SAL_CALL AppShow( const OUString& WindowName ) override; + virtual void SAL_CALL AppShow( const css::uno::Any& WindowName ) override; virtual sal_Int32 SAL_CALL AppCount() override; }; @@ -667,7 +667,7 @@ SwWordBasic::DocMaximize( const css::uno::Any& State ) } void SAL_CALL -SwWordBasic::AppShow( const OUString& WindowName ) +SwWordBasic::AppShow( const css::uno::Any& WindowName ) { SAL_INFO("sw.vba", "WordBasic.AppShow(WindowName:=" << WindowName << ")"); -- cgit