diff options
Diffstat (limited to 'svtools/source/contnr/svtabbx.cxx')
-rw-r--r-- | svtools/source/contnr/svtabbx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx index c04a8c05816f..3b2874c5a183 100644 --- a/svtools/source/contnr/svtabbx.cxx +++ b/svtools/source/contnr/svtabbx.cxx @@ -420,8 +420,8 @@ OUString SvTabListBox::GetTabEntryText( sal_uLong nPos, sal_uInt16 nCol ) const { if ( nCol == 0 ) { - String sRet = static_cast<const SvLBoxString*>(pStr)->GetText(); - if ( sRet.Len() == 0 ) + OUString sRet = static_cast<const SvLBoxString*>(pStr)->GetText(); + if ( sRet.isEmpty() ) sRet = SVT_RESSTR( STR_SVT_ACC_EMPTY_FIELD ); return sRet; } |