diff options
Diffstat (limited to 'sw/source/core/unocore/unotbl.cxx')
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 42cf9b21c993..a928d15b3a62 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -709,7 +709,7 @@ void lcl_setString( SwXCell &rCell, const rtl::OUString &rTxt, double lcl_getValue( SwXCell &rCell ) { double fRet; - if(rCell.IsValid() && rCell.getString().getLength()!=0) + if(rCell.IsValid() && !rCell.getString().isEmpty()) fRet = rCell.pBox->GetFrmFmt()->GetTblBoxValue().GetValue(); else ::rtl::math::setNan( &fRet ); |