diff options
author | Gustavo Buzzatti Pacheco <gbpacheco@gmail.com> | 2011-12-26 15:08:46 -0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-12-30 11:36:01 +0100 |
commit | 6cfae09e5dafa477db210272949e253d4fb24349 (patch) | |
tree | 04f24fc194e1f711228296f7f3f16b98fd489637 /forms/source/component/refvaluecomponent.cxx | |
parent | n#655408: Importing extLst of drawings in diagrams. (diff) | |
download | core-6cfae09e5dafa477db210272949e253d4fb24349.tar.gz core-6cfae09e5dafa477db210272949e253d4fb24349.zip |
Fix for fdo43460 Part XVIII getLength() to isEmpty()
Part XVIII
module
form
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 |