Kaydet (Commit) 9be866ac authored tarafından Julien Nabet's avatar Julien Nabet

Replace lists by vectors in reportdesign

Change-Id: I67472484d83ee75cbcc50a64b4637d3b45608499
Reviewed-on: https://gerrit.libreoffice.org/44309Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 0a09ca61
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <comphelper/interfacecontainer2.hxx> #include <comphelper/interfacecontainer2.hxx>
#include <cppuhelper/basemutex.hxx> #include <cppuhelper/basemutex.hxx>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <list> #include <vector>
namespace reportdesign namespace reportdesign
...@@ -38,7 +38,7 @@ namespace reportdesign ...@@ -38,7 +38,7 @@ namespace reportdesign
class OFunctions : public cppu::BaseMutex, class OFunctions : public cppu::BaseMutex,
public FunctionsBase 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; ::comphelper::OInterfaceContainerHelper2 m_aContainerListeners;
css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::WeakReference< css::report::XFunctionsSupplier > m_xParent; css::uno::WeakReference< css::report::XFunctionsSupplier > m_xParent;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include <cppuhelper/basemutex.hxx> #include <cppuhelper/basemutex.hxx>
#include <comphelper/interfacecontainer2.hxx> #include <comphelper/interfacecontainer2.hxx>
#include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/uno/XComponentContext.hpp>
#include <list> #include <vector>
namespace reportdesign namespace reportdesign
...@@ -37,7 +37,7 @@ namespace reportdesign ...@@ -37,7 +37,7 @@ namespace reportdesign
class OGroups : public cppu::BaseMutex, class OGroups : public cppu::BaseMutex,
public GroupsBase 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; ::comphelper::OInterfaceContainerHelper2 m_aContainerListeners;
css::uno::Reference< css::uno::XComponentContext > m_xContext; css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::WeakReference< css::report::XReportDefinition > m_xParent; css::uno::WeakReference< css::report::XReportDefinition > m_xParent;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment