summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-11-18 20:48:45 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-11-19 09:39:46 +0100
commit60da185b57f36d48808309d0fa6efb27a587c4e6 (patch)
tree3600b0245ca48bd25c30c1632f06c7d2439117f7 /sc/inc
parenttdf#108947 Added Unittest. (diff)
downloadcore-60da185b57f36d48808309d0fa6efb27a587c4e6.tar.gz
core-60da185b57f36d48808309d0fa6efb27a587c4e6.zip
Replace list by vector in accessible part of sc
+ remove useless typedef following https://cgit.freedesktop.org/libreoffice/core/commit/?id=65e578640f0258768a9253389356dbc63c845b7e + use for range loops Change-Id: I9b69acf4c0b783ee8db34791b1044cbebb68da9f Reviewed-on: https://gerrit.libreoffice.org/44919 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/chart2uno.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/inc/chart2uno.hxx b/sc/inc/chart2uno.hxx
index d9c019dc7a3d..795561b642fa 100644
--- a/sc/inc/chart2uno.hxx
+++ b/sc/inc/chart2uno.hxx
@@ -46,7 +46,6 @@
#include <rtl/ustring.hxx>
#include <svl/itemprop.hxx>
-#include <list>
#include <memory>
#include <unordered_set>
#include <vector>
@@ -183,8 +182,7 @@ public:
private:
ScDocument* m_pDocument;
- typedef std::list < css::uno::Reference< css::chart2::data::XLabeledDataSequence > > LabeledList;
- LabeledList m_aLabeledSequences;
+ std::vector < css::uno::Reference< css::chart2::data::XLabeledDataSequence > > m_aLabeledSequences;
};