diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-02-06 11:58:56 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-09-20 11:00:15 +0200 |
commit | 2ecb599f8e89271bf494588165b1abad2eae975c (patch) | |
tree | 2792ddfdc224919129efdf8dbaa6129122cfeedb /sw/source/ui | |
parent | ec8a45b9305e379a30a9768821f856e7928be5d0 (diff) |
Add a dummy implementation of WordBasic.AppMaximize()
Change-Id: I4606e5a3717c3717d105dd2e63c9fd7d2e1abf83
(cherry picked from commit 990c88a9a84c1960a704052f84318bc33b744fb5)
Reviewed-on: https://gerrit.libreoffice.org/79157
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sw/source/ui')
-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 4d92fbd6b8a8..970cc46966f7 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -109,6 +109,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 ): @@ -641,4 +642,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: */ |