summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbadocuments.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbadocuments.cxx')
-rw-r--r--sw/source/ui/vba/vbadocuments.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbadocuments.cxx b/sw/source/ui/vba/vbadocuments.cxx
index 9398fcc6b1be..63360919c845 100644
--- a/sw/source/ui/vba/vbadocuments.cxx
+++ b/sw/source/ui/vba/vbadocuments.cxx
@@ -122,9 +122,7 @@ SwVbaDocuments::Open( const OUString& Filename, const uno::Any& /*ConfirmConvers
else
osl::FileBase::getFileURLFromSystemPath( Filename, aURL );
- uno::Sequence< beans::PropertyValue > sProps(0);
-
- uno::Reference <text::XTextDocument> xSpreadDoc( openDocument( Filename, ReadOnly, sProps ), uno::UNO_QUERY_THROW );
+ uno::Reference <text::XTextDocument> xSpreadDoc( openDocument( Filename, ReadOnly, {}), uno::UNO_QUERY_THROW );
uno::Any aRet = getDocument( mxContext, xSpreadDoc, Application() );
uno::Reference< word::XDocument > xDocument( aRet, uno::UNO_QUERY );
if ( xDocument.is() )