summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-04-21 08:38:05 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-04-22 17:51:36 +0200
commit0202f9b7c4ddabd0d0567ad77a15617904996fec (patch)
tree5383fbaa507ab3df6772a65d27cbfac8036d64f3 /forms
parentd198e7a1eb41e95bf199766205cfac9ce597e0ec (diff)
assert non-nullness of interface before use
Change-Id: I467830dce80e97db1b20c6d589fb4ca407cfa26c
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ListBox.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index 536631b12a47..b4df74660a93 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -710,6 +710,7 @@ namespace frm
break;
Reference<XPropertySet> xFieldAsSet(xFieldsByIndex->getByIndex( *aBoundColumn ),UNO_QUERY);
+ assert(xFieldAsSet.is());
xFieldAsSet->getPropertyValue(PROPERTY_NAME) >>= aBoundFieldName;
aBoundColumn.reset( 1 );