diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-02-06 11:58:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-02-06 13:50:45 +0200 |
commit | 990c88a9a84c1960a704052f84318bc33b744fb5 (patch) | |
tree | 7b9b71a84b364963db897e5435970ee974245f4d /sw | |
parent | 5f5726d82e92e0ed403240dbcea57567a5c38a1f (diff) |
Add a dummy implementation of WordBasic.AppMaximize()
Change-Id: I4606e5a3717c3717d105dd2e63c9fd7d2e1abf83
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index c4340351b811..de37ae1efddb 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -108,6 +108,7 @@ public: const css::uno::Any& WritePasswordTemplate, const css::uno::Any& Connection, const css::uno::Any& SQLStatement, const css::uno::Any& SQLStatement1, 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; }; SwVbaApplication::SwVbaApplication( uno::Reference<uno::XComponentContext >& xContext ): @@ -640,4 +641,13 @@ SwWordBasic::MailMergeOpenDataSource( const OUString& Name, const css::uno::Any& OpenExclusive, SubType ); } +sal_Int32 SAL_CALL +SwWordBasic::AppMaximize( const OUString& WindowName, const css::uno::Any& State ) +{ + SAL_INFO("sw.vba", "WordBasic.AppMaximize( WindowName:=" << WindowName << ", State:=" << State); + + // FIXME: Implement if necessary + return 0; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |