From bc02c97d87ff100ad9665f32c8d6fefde5023a6c Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 21 Jan 2019 17:33:01 +0200 Subject: Implement WordBasic.FileSave() Change-Id: Iafb5be16ebb23aa09e0300a77c2f2dbe29b85cad --- sw/source/ui/vba/vbaapplication.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw/source/ui/vba/vbaapplication.cxx') diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx index 2674a9c6efe1..90196adf5008 100644 --- a/sw/source/ui/vba/vbaapplication.cxx +++ b/sw/source/ui/vba/vbaapplication.cxx @@ -533,7 +533,8 @@ SwWordBasic::FileOpen( const OUString& Name, const uno::Any& ConfirmConversions, void SAL_CALL SwWordBasic::FileSave() { - // FIXME save it + uno::Reference< frame::XModel > xModel( mpApp->getCurrentDocument(), uno::UNO_SET_THROW ); + dispatchRequests(xModel,".uno:Save"); } void SAL_CALL -- cgit v1.2.3