diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-02-06 12:22:39 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-02-06 13:51:26 +0200 |
commit | c06a3f33d0de59f9cbfddef353f9018a6583df4a (patch) | |
tree | b78544dbcd8a561e0ee1207a76164150fc286a87 /sw/source | |
parent | ad19df8696346e608b530a7e84b8da4fad6d8c80 (diff) |
Add a dummy implementation of WordBasic.AppCount()
Change-Id: Ia9e78c331d2cb711653ee3e64597ebf2824e0eeb
Diffstat (limited to 'sw/source')
-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 12f81caee63a..4b7b83bf3f62 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -111,6 +111,7 @@ public: 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 sal_Int32 SAL_CALL AppCount() override; }; SwVbaApplication::SwVbaApplication( uno::Reference<uno::XComponentContext >& xContext ): @@ -669,4 +670,13 @@ SwWordBasic::AppShow( const OUString& WindowName ) // FIXME: Implement if necessary } +sal_Int32 SAL_CALL +SwWordBasic::AppCount() +{ + SAL_INFO("sw.vba", "WordBasic.AppCount()"); + + // FIXME: Implement if necessary. Return a random number for now. + return 2; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |