summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-09-06 21:49:59 +0200
committerJulien Nabet <serval2412@yahoo.fr>2017-09-06 22:45:10 +0200
commitf8defe59ff75df2b516ee407f1dac22b0ac72a19 (patch)
tree9f3f65bbb557b3ab17c07d756f7c19b996e49af0 /sc/inc
parentTypo exeption->exception (domtest.cxx) (diff)
downloadcore-f8defe59ff75df2b516ee407f1dac22b0ac72a19.tar.gz
core-f8defe59ff75df2b516ee407f1dac22b0ac72a19.zip
Replace some lists by vectors in unoobj (sc)
Change-Id: I611f1a217ff1d5468c77f04a0c2eddd61ee33b8b Reviewed-on: https://gerrit.libreoffice.org/42025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/listenercalls.hxx4
-rw-r--r--sc/inc/unoreflist.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/listenercalls.hxx b/sc/inc/listenercalls.hxx
index 0a335a1a4ae4..d9f1a476af6c 100644
--- a/sc/inc/listenercalls.hxx
+++ b/sc/inc/listenercalls.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SC_INC_LISTENERCALLS_HXX
#define INCLUDED_SC_INC_LISTENERCALLS_HXX
-#include <list>
+#include <vector>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/lang/EventObject.hpp>
@@ -52,7 +52,7 @@ struct ScUnoListenerEntry
class ScUnoListenerCalls
{
private:
- ::std::list<ScUnoListenerEntry> aEntries;
+ ::std::vector<ScUnoListenerEntry> aEntries;
public:
ScUnoListenerCalls();
diff --git a/sc/inc/unoreflist.hxx b/sc/inc/unoreflist.hxx
index d9b845e22d2c..c5192d7308fc 100644
--- a/sc/inc/unoreflist.hxx
+++ b/sc/inc/unoreflist.hxx
@@ -20,7 +20,7 @@
#ifndef INCLUDED_SC_INC_UNOREFLIST_HXX
#define INCLUDED_SC_INC_UNOREFLIST_HXX
-#include <list>
+#include <vector>
#include <svl/hint.hxx>
#include "rangelst.hxx"
@@ -42,7 +42,7 @@ struct ScUnoRefEntry
class ScUnoRefList
{
private:
- ::std::list<ScUnoRefEntry> aEntries;
+ ::std::vector<ScUnoRefEntry> aEntries;
public:
ScUnoRefList();