diff options
-rw-r--r-- | oovbaapi/ooo/vba/word/XWordBasic.idl | 1 | ||||
-rw-r--r-- | sw/source/ui/vba/vbaapplication.cxx | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/word/XWordBasic.idl b/oovbaapi/ooo/vba/word/XWordBasic.idl index bbebd72ebd89..4a91a7f7af11 100644 --- a/oovbaapi/ooo/vba/word/XWordBasic.idl +++ b/oovbaapi/ooo/vba/word/XWordBasic.idl @@ -41,6 +41,7 @@ interface XWordBasic long AppMaximize( [in] string WindowName, [in] any State ); long DocMaximize( [in] any State ); + void AppShow( [in] string WindowName ); }; }; }; }; diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index c29f9f562f51..f6382ad19c41 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -111,6 +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; }; SwVbaApplication::SwVbaApplication( uno::Reference<uno::XComponentContext >& xContext ): @@ -658,4 +659,12 @@ SwWordBasic::DocMaximize( const css::uno::Any& State ) return 0; } +void SAL_CALL +SwWordBasic::AppShow( const OUString& WindowName ) +{ + SAL_INFO("sw.vba", "WordBasic.AppShow(WindowName:=" << WindowName << ")"); + + // FIXME: Implement if necessary +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |