diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-10-09 21:04:19 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-10-09 22:53:12 +0200 |
commit | af7b62ea9e54dba4923b004ef921a20c83c2a836 (patch) | |
tree | 47859e96a8baaa0e961090621aedb027f010ae34 /include/toolkit | |
parent | 1da3a2d32d89da8467424e1b092711a073fbdc8d (diff) |
Replace lists by vectors in controlmodelcontainerbase (toolkit)
Change-Id: I614433b16501812a80c9d4f78abb499f96fecd26
Reviewed-on: https://gerrit.libreoffice.org/43293
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/controls/controlmodelcontainerbase.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/toolkit/controls/controlmodelcontainerbase.hxx b/include/toolkit/controls/controlmodelcontainerbase.hxx index 3c92013a4f4d..aba3ff1362a0 100644 --- a/include/toolkit/controls/controlmodelcontainerbase.hxx +++ b/include/toolkit/controls/controlmodelcontainerbase.hxx @@ -41,7 +41,7 @@ #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <tools/gen.hxx> -#include <list> +#include <vector> // class ControlModelContainerBase @@ -66,7 +66,7 @@ public: typedef ::std::pair< css::uno::Reference< css::awt::XControlModel >, OUString > UnoControlModelHolder; private: - typedef ::std::list< UnoControlModelHolder > UnoControlModelHolderList; + typedef ::std::vector< UnoControlModelHolder > UnoControlModelHolderVector; public: // for grouping control models (XTabControllerModel::getGroupXXX) @@ -81,7 +81,7 @@ public: protected: ContainerListenerMultiplexer maContainerListeners; ::comphelper::OInterfaceContainerHelper2 maChangeListeners; - UnoControlModelHolderList maModels; + UnoControlModelHolderVector maModels; AllGroups maGroups; bool mbGroupsUpToDate; @@ -96,7 +96,7 @@ protected: css::uno::Any ImplGetDefaultValue( sal_uInt16 nPropId ) const override; ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override; - UnoControlModelHolderList::iterator ImplFindElement( const OUString& rName ); + UnoControlModelHolderVector::iterator ImplFindElement( const OUString& rName ); /// @throws css::lang::IllegalArgumentException /// @throws css::container::ElementExistException |