summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/control/RelationControl.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-09-17 16:07:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-17 17:54:05 +0200
commite1e63bc2280f7964930cd6363bfc389226836937 (patch)
treebfe860efe4e695e565815cbe682b288eb14bd3e3 /dbaccess/source/ui/control/RelationControl.cxx
parentba5b65e21b7e38504d23963ebe265af33cd6ba9e (diff)
Replace some lists by vectors in dbaccess
Change-Id: Ibf75bec826661fcff7d71e9e2f11884e498a299b Reviewed-on: https://gerrit.libreoffice.org/42382 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/control/RelationControl.cxx')
-rw-r--r--dbaccess/source/ui/control/RelationControl.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx
index 6214f73aaf43..57a5e79f4064 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -35,8 +35,7 @@
#include "helpids.h"
#include <osl/diagnose.h>
-#include <list>
-using std::list;
+#include <vector>
#include <utility>
using std::pair;
using std::make_pair;
@@ -65,7 +64,7 @@ namespace dbaui
Reference< XPropertySet> m_xSourceDef;
Reference< XPropertySet> m_xDestDef;
enum opcode { DELETE, INSERT, MODIFY };
- typedef list< pair < opcode, pair < OConnectionLineDataVec::size_type, OConnectionLineDataVec::size_type> > > ops_type;
+ typedef std::vector< pair < opcode, pair < OConnectionLineDataVec::size_type, OConnectionLineDataVec::size_type> > > ops_type;
ops_type m_ops;
void fillListBox(const Reference< XPropertySet>& _xDest);