summaryrefslogtreecommitdiff
path: root/tools/source
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-09 17:22:11 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-03-09 20:32:39 +0100
commita2454a42ad2236f0f6b88be166bc7e6a8f90f036 (patch)
tree7f6dfc38cfd617f41c63a17640ec7ef8650a2c45 /tools/source
parenteba2ef9504fe4034cbb44840d459d82ab8a141b1 (diff)
fdo#43460: use isEmpty()
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
Diffstat (limited to 'tools/source')
-rw-r--r--tools/source/stream/stream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx
index 9516581e5cac..d9fc89a80cef 100644
--- a/tools/source/stream/stream.cxx
+++ b/tools/source/stream/stream.cxx
@@ -551,7 +551,7 @@ sal_Bool SvStream::ReadLine( rtl::OString& rStr, sal_Int32 nMaxBytesToRead )
sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 );
if ( !nLen )
{
- if ( aBuf.getLength() == 0 )
+ if ( aBuf.isEmpty() )
{
// Exit on first block-read error
bIsEof = sal_True;