summaryrefslogtreecommitdiff
path: root/forms/source/component/ListBox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/component/ListBox.cxx')
-rw-r--r--forms/source/component/ListBox.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 3235ffe814ce..d6eb7cf7860e 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -1058,6 +1058,9 @@ namespace frm
ValueList OListBoxModel::impl_getValues() const
{
+ if (!isLoaded())
+ return ValueList();
+
const sal_Int32 nFieldType = getValueType();
if ( !m_aConvertedBoundValues.empty() && m_nConvertedBoundValuesType == nFieldType )