From c384c7d7ae39495a9cfd55c3d610133f97db1304 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Fri, 11 Jun 2021 16:02:26 +0200 Subject: Simplify Sequence/vector initializations Change-Id: Ib02e25b4600666185cf0f8d0cc8d5c64186789c5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117064 Tested-by: Jenkins Reviewed-by: Julien Nabet --- fpicker/source/win32/VistaFilePicker.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/win32/VistaFilePicker.cxx b/fpicker/source/win32/VistaFilePicker.cxx index 367f938dd3a6..0c360f1bc33d 100644 --- a/fpicker/source/win32/VistaFilePicker.cxx +++ b/fpicker/source/win32/VistaFilePicker.cxx @@ -210,9 +210,7 @@ void VistaFilePicker::ensureInit() } else { - css::uno::Sequence < css::uno::Any > aInitArguments(1); - aInitArguments[0] <<= css::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE; - initialize(aInitArguments); + initialize( { css::uno::Any(css::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE) }); } } } -- cgit