Replace lists by vectors in reportdesign

Change-Id: I67472484d83ee75cbcc50a64b4637d3b45608499
Reviewed-on: https://gerrit.libreoffice.org/44309
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Julien Nabet
2017-11-04 21:41:14 +01:00
parent 0a09ca614b
commit 9be866ac6a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -25,7 +25,7 @@
#include <comphelper/interfacecontainer2.hxx>
#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <list>
#include <vector>
namespace reportdesign
@@ -38,7 +38,7 @@ namespace reportdesign
class OFunctions : public cppu::BaseMutex,
public FunctionsBase
{
typedef ::std::list< css::uno::Reference< css::report::XFunction > > TFunctions;
typedef ::std::vector< css::uno::Reference< css::report::XFunction > > TFunctions;
::comphelper::OInterfaceContainerHelper2 m_aContainerListeners;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::WeakReference< css::report::XFunctionsSupplier > m_xParent;
+2 -2
View File
@@ -24,7 +24,7 @@
#include <cppuhelper/basemutex.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <list>
#include <vector>
namespace reportdesign
@@ -37,7 +37,7 @@ namespace reportdesign
class OGroups : public cppu::BaseMutex,
public GroupsBase
{
typedef ::std::list< css::uno::Reference< css::report::XGroup > > TGroups;
typedef ::std::vector< css::uno::Reference< css::report::XGroup > > TGroups;
::comphelper::OInterfaceContainerHelper2 m_aContainerListeners;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::WeakReference< css::report::XReportDefinition > m_xParent;