summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-06 12:20:45 +0200
committerTor Lillqvist <tml@collabora.com>2019-02-06 13:48:34 +0200
commitf58e3f17c9efd70aab8dbcd50eb938a998edacd1 (patch)
treeef3908600d64773f94f7b455f79b01f6ee39cfa4
parentfffe41c1247eea37150f43f3b856d1ee45e6e31c (diff)
Add a dummy implementation of WordBasic.AppShow()
Change-Id: I14379c5732c1921b8f52293045d01acf99e0b840
-rw-r--r--oovbaapi/ooo/vba/word/XWordBasic.idl1
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx9
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: */