diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-21 08:38:05 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-04-22 17:51:36 +0200 |
commit | 0202f9b7c4ddabd0d0567ad77a15617904996fec (patch) | |
tree | 5383fbaa507ab3df6772a65d27cbfac8036d64f3 /forms | |
parent | d198e7a1eb41e95bf199766205cfac9ce597e0ec (diff) |
assert non-nullness of interface before use
Change-Id: I467830dce80e97db1b20c6d589fb4ca407cfa26c
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/ListBox.cxx | 1 |
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 ); |