summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-14 08:35:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-14 08:35:33 +0100
commit4efa9604cf90a581af05c231470bc3fe2e0c49ef (patch)
tree734cf576dd587d45e97e9b49d383dcac1f7e7300 /forms
parent066103b8a4e4930c72152f9af66022a25938dc1e (diff)
Revert "ListBox: refuse to give values before we are loaded"
This reverts commit 1cc29a04adb721205655091854f5ea828bb8eb11, as it caused JunitTest_forms_unoapi trigger the assert( m_nConvertedBoundValuesType == getValueType()) at forms/source/component/ListBox.cxx:1189.
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 72ce58706548..e7f7e21c422d 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -1072,9 +1072,6 @@ namespace frm
ValueList OListBoxModel::impl_getValues() const
{
- if (!isLoaded())
- return ValueList();
-
const sal_Int32 nFieldType = getValueType();
if ( !m_aConvertedBoundValues.empty() && m_nConvertedBoundValuesType == nFieldType )