summaryrefslogtreecommitdiff
path: root/vbahelper/source/msforms/vbalistcontrolhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/msforms/vbalistcontrolhelper.cxx')
-rw-r--r--vbahelper/source/msforms/vbalistcontrolhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vbahelper/source/msforms/vbalistcontrolhelper.cxx b/vbahelper/source/msforms/vbalistcontrolhelper.cxx
index 828c766a1c80..8186d3d660a6 100644
--- a/vbahelper/source/msforms/vbalistcontrolhelper.cxx
+++ b/vbahelper/source/msforms/vbalistcontrolhelper.cxx
@@ -161,7 +161,7 @@ ListControlHelper::Clear( ) throw (uno::RuntimeException)
void SAL_CALL
ListControlHelper::setRowSource( const rtl::OUString& _rowsource ) throw (uno::RuntimeException)
{
- if ( _rowsource.getLength() == 0 )
+ if ( _rowsource.isEmpty() )
Clear();
}