diff options
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); } |