summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2019-05-09 18:30:20 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-05-10 07:03:28 +0200
commit98dced113650aa7bb70c17b626474458d872fcd6 (patch)
treec50b7651c3fd3035404b3fc7a6a9856014e6a695 /fpicker
parent425a570a114d9a087e5320f071604f64d43fcec1 (diff)
Replace lists by vectors in fpicker/office
Change-Id: Id8d84ddebdb909583bfb136747374c0500c080e5 Reviewed-on: https://gerrit.libreoffice.org/72067 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeFilePicker.cxx2
-rw-r--r--fpicker/source/office/OfficeFilePicker.hxx6
-rw-r--r--fpicker/source/office/OfficeFolderPicker.cxx2
3 files changed, 5 insertions, 5 deletions
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 <list>
+#include <vector>
#include <algorithm>
#include <sal/log.hxx>
#include <tools/urlobj.hxx>
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 <list>
+#include <vector>
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 <list>
+#include <vector>
#include <tools/urlobj.hxx>
#include <com/sun/star/container/XContentEnumerationAccess.hpp>
#include <com/sun/star/container/XSet.hpp>