diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-11-01 20:59:57 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-11-02 04:50:29 +0100 |
commit | 98b03cdc63bdf72a054a7fd17226673e34a3ba3e (patch) | |
tree | 9e176b9d0ab4a05f382c58ca0dc07b5988c2496c /forms/source/component/refvaluecomponent.cxx | |
parent | 11459949e920fab6074bab85e3e1a748e9aee1ee (diff) |
Replace lists by vectors (forms)
Change-Id: Id0215a1044f330ffe6d09875d2f0ed6d4aa0b4f0
Reviewed-on: https://gerrit.libreoffice.org/44179
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'forms/source/component/refvaluecomponent.cxx')
-rw-r--r-- | forms/source/component/refvaluecomponent.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/forms/source/component/refvaluecomponent.cxx b/forms/source/component/refvaluecomponent.cxx index fbb4aeed1ab6..c85fa5784503 100644 --- a/forms/source/component/refvaluecomponent.cxx +++ b/forms/source/component/refvaluecomponent.cxx @@ -21,7 +21,7 @@ #include <tools/diagnose_ex.h> -#include <list> +#include <vector> namespace frm @@ -162,12 +162,12 @@ namespace frm Sequence< Type > OReferenceValueComponent::getSupportedBindingTypes() { - ::std::list< Type > aTypes; - aTypes.push_back( cppu::UnoType<sal_Bool>::get() ); + ::std::vector< Type > aTypes; if ( !m_sReferenceValue.isEmpty() ) - aTypes.push_front( cppu::UnoType<OUString>::get() ); - // push_front, because this is the preferred type + aTypes.push_back( cppu::UnoType<OUString>::get() ); + + aTypes.push_back( cppu::UnoType<sal_Bool>::get() ); return comphelper::containerToSequence(aTypes); } |