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 )