From 98dced113650aa7bb70c17b626474458d872fcd6 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Thu, 9 May 2019 18:30:20 +0200 Subject: Replace lists by vectors in fpicker/office Change-Id: Id8d84ddebdb909583bfb136747374c0500c080e5 Reviewed-on: https://gerrit.libreoffice.org/72067 Tested-by: Jenkins Reviewed-by: Julien Nabet --- fpicker/source/office/OfficeFilePicker.cxx | 2 +- fpicker/source/office/OfficeFilePicker.hxx | 6 +++--- fpicker/source/office/OfficeFolderPicker.cxx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/OfficeFilePicker.cxx b/fpicker/source/office/OfficeFilePicker.cxx index dd6712541722..8271b9a302c8 100644 --- a/fpicker/source/office/OfficeFilePicker.cxx +++ b/fpicker/source/office/OfficeFilePicker.cxx @@ -22,7 +22,7 @@ #include "iodlg.hxx" #include "RemoteFilesDialog.hxx" -#include +#include #include #include #include diff --git a/fpicker/source/office/OfficeFilePicker.hxx b/fpicker/source/office/OfficeFilePicker.hxx index 9df75d019fb7..e42ef384f06a 100644 --- a/fpicker/source/office/OfficeFilePicker.hxx +++ b/fpicker/source/office/OfficeFilePicker.hxx @@ -34,15 +34,15 @@ #include "commonpicker.hxx" #include "pickercallbacks.hxx" -#include +#include class Dialog; struct FilterEntry; struct ElementEntry_Impl; enum class PickerFlags; -typedef ::std::list< FilterEntry > FilterList; // can be maintained more effectively -typedef ::std::list < ElementEntry_Impl > ElementList; +typedef ::std::vector< FilterEntry > FilterList; // can be maintained more effectively +typedef ::std::vector< ElementEntry_Impl > ElementList; typedef css::beans::StringPair UnoFilterEntry; typedef css::uno::Sequence< UnoFilterEntry > UnoFilterList; // can be transported more effectively diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx index 2c049ed605f0..8868f1cc3e57 100644 --- a/fpicker/source/office/OfficeFolderPicker.cxx +++ b/fpicker/source/office/OfficeFolderPicker.cxx @@ -21,7 +21,7 @@ #include "iodlg.hxx" -#include +#include #include #include #include -- cgit v1.2.3