diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-10-23 12:12:25 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-11-26 12:30:19 +0200 |
commit | 939331c0935d671984079051fda03feb3dcf23d9 (patch) | |
tree | 399cf1e42230ee7ddd6d04dd1dfa84b6e7cfe31b /sw/source/ui/vba/vbadocument.cxx | |
parent | 27005a72fdac26977498b4efae12f54b6feb3f9a (diff) |
Add ooo.vba.word.XDocument.Close() method and implement
Will be needed in COLEAT. And seems like a fairly obviously missing
API otherwise, too.
Change-Id: I990c605a7e3f9cff3b72f20a626477d010da9852
Reviewed-on: https://gerrit.libreoffice.org/81369
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit b0b0788ba040be2bf42aa19313759ba9f4811d38)
Reviewed-on: https://gerrit.libreoffice.org/83660
(cherry picked from commit 1562900446a99623a30fa9e719322a8c24132f9d)
Diffstat (limited to 'sw/source/ui/vba/vbadocument.cxx')
-rw-r--r-- | sw/source/ui/vba/vbadocument.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx index 0883afe12374..c49adef7fad0 100644 --- a/sw/source/ui/vba/vbadocument.cxx +++ b/sw/source/ui/vba/vbadocument.cxx @@ -525,6 +525,12 @@ SwVbaDocument::SaveAs( const uno::Any& FileName, const uno::Any& FileFormat, con } void SAL_CALL +SwVbaDocument::Close( const uno::Any& SaveChanges, const uno::Any& /*OriginalFormat*/, const uno::Any& /*RouteDocument*/ ) +{ + VbaDocumentBase::Close( SaveChanges, uno::Any(), uno::Any() ); +} + +void SAL_CALL SwVbaDocument::SavePreviewPngAs( const uno::Any& FileName ) { OUString sFileName; |