diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 23:51:21 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2014-05-10 23:54:07 +0200 |
commit | fa51b556800f332b311786770b3d6e57b65f615c (patch) | |
tree | 4218dbf7025f8d88550d941c2394c8c442324187 /forms/source/component/ListBox.cxx | |
parent | SdStyleSheetPool: de-dent that (diff) | |
download | core-fa51b556800f332b311786770b3d6e57b65f615c.tar.gz core-fa51b556800f332b311786770b3d6e57b65f615c.zip |
Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9
Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
Diffstat (limited to 'forms/source/component/ListBox.cxx')
-rw-r--r-- | forms/source/component/ListBox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx index 7dcd15f078f4..e0c017febbb8 100644 --- a/forms/source/component/ListBox.cxx +++ b/forms/source/component/ListBox.cxx @@ -306,7 +306,7 @@ namespace frm break; case PROPERTY_ID_LISTSOURCETYPE : - DBG_ASSERT(_rValue.getValueType().equals(::getCppuType(static_cast<ListSourceType*>(0))), + DBG_ASSERT(_rValue.getValueType().equals(::cppu::UnoType<ListSourceType>::get()), "OComboBoxModel::setFastPropertyValue_NoBroadcast : invalid type !" ); _rValue >>= m_eListSourceType; break; @@ -399,7 +399,7 @@ namespace frm switch (_nHandle) { case PROPERTY_ID_BOUNDCOLUMN : - bModified = tryPropertyValue(_rConvertedValue, _rOldValue, _rValue, m_aBoundColumn, ::getCppuType(static_cast<sal_Int16*>(0))); + bModified = tryPropertyValue(_rConvertedValue, _rOldValue, _rValue, m_aBoundColumn, ::cppu::UnoType<sal_Int16>::get()); break; case PROPERTY_ID_LISTSOURCETYPE: |