summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-07 11:55:51 +0200
committerTor Lillqvist <tml@collabora.com>2019-02-07 12:08:28 +0200
commitb1b54a5faf899488e5045c6b3e26241c9d7299de (patch)
treed6d1b46d5874caed8c89bb14f083a342ddf37833 /sw
parent32555d9b5c9ef37276984eaa9d9b84007fd02038 (diff)
The parameter to WordBasic.AppShow() is optional and thus has to be an Any
Change-Id: I134101d1be5922051e34352331a49f5706030ff2
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 222524f4207a..97531796f92c 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -110,7 +110,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;
};
@@ -669,7 +669,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 << ")");