[Libreoffice-commits] core.git: fpicker/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Fri May 10 05:04:09 UTC 2019
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(-)
New commits:
commit 98dced113650aa7bb70c17b626474458d872fcd6
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Thu May 9 18:30:20 2019 +0200
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Fri May 10 07:03:28 2019 +0200
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 at yahoo.fr>
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>
More information about the Libreoffice-commits
mailing list