From bbf6c5171706e55edcf8e011a536264f4f2efd99 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Nov 2016 10:38:54 +0200 Subject: loplugin:expandablemethods in forms..formula Change-Id: Idc948ad06913def28cb642c3a4e5ea9322b9fb3b Reviewed-on: https://gerrit.libreoffice.org/30688 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- forms/source/component/ListBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms/source/component/ListBox.cxx') diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index fcfe5c8de178..4ad80031f502 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -1062,7 +1062,7 @@ namespace frm sal_Int32 OListBoxModel::getValueType() const { - return impl_hasBoundComponent() ? m_nBoundColumnType : getFieldType(); + return (m_nBoundColumnType != css::sdbc::DataType::SQLNULL) ? m_nBoundColumnType : getFieldType(); } ValueList OListBoxModel::impl_getValues() const -- cgit