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:51:07 +0200
commitad19df8696346e608b530a7e84b8da4fad6d8c80 (patch)
treea988def2a4a065546b60528f6f06de7f45306b94
parent3c42f006076ecd71371612d67d84381ac42b88da (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 b48fecca1738..12f81caee63a 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -110,6 +110,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 ):
@@ -660,4 +661,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: */