diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2022-02-06 14:05:46 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-02-07 07:05:17 +0100 |
commit | ed652a6af731c5cd024c245013923717b7764a60 (patch) | |
tree | 67ac6d2684178c97b58c020503b95e4fdd6e73ee /sw/source/ui/vba/vbadocuments.cxx | |
parent | 76fa8d13c5244cf8b1f573e849f4cd2d2347a128 (diff) |
Simplify sequences uses in sw (2)
Change-Id: Ic4b3136414d778990e179e36162ca61327cb13f3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129578
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/ui/vba/vbadocuments.cxx')
-rw-r--r-- | sw/source/ui/vba/vbadocuments.cxx | 4 |
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() ) |