diff options
Diffstat (limited to 'forms/source/component/refvaluecomponent.cxx')
-rw-r--r-- | forms/source/component/refvaluecomponent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/refvaluecomponent.cxx b/forms/source/component/refvaluecomponent.cxx index f9103a2f411b..5950a854e4ff 100644 --- a/forms/source/component/refvaluecomponent.cxx +++ b/forms/source/component/refvaluecomponent.cxx @@ -178,7 +178,7 @@ namespace frm ::std::list< Type > aTypes; aTypes.push_back( ::getCppuType( static_cast< sal_Bool* >( NULL ) ) ); - if ( m_sReferenceValue.getLength() ) + if ( !m_sReferenceValue.isEmpty() ) aTypes.push_front( ::getCppuType( static_cast< ::rtl::OUString* >( NULL ) ) ); // push_front, because this is the preferred type |