diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 21:47:17 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 21:47:31 +0100 |
commit | 6dddefc6e7ff6dc5cde46dde069ba1d7db4ac34b (patch) | |
tree | 7dafa2c2f9ac052a8b371f70c267c5c847dd2c5a /basic/source/sbx/sbxvalue.cxx | |
parent | d9a3752143027bbf0d9383074fd378631309a3b0 (diff) |
fdo#43460: use isEmpty()
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
Diffstat (limited to 'basic/source/sbx/sbxvalue.cxx')
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 7356f8978343..1e3191664a1d 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -1469,7 +1469,7 @@ sal_Bool SbxValue::LoadData( SvStream& r, sal_uInt16 ) { OUString aVal = read_lenPrefixed_uInt8s_ToOUString<sal_uInt16>(r, RTL_TEXTENCODING_ASCII_US); - if( aVal.getLength() ) + if( !aVal.isEmpty() ) aData.pOUString = new OUString( aVal ); else aData.pOUString = NULL; // JSM 1995-09-22 |