diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 17:22:11 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-09 20:32:39 +0100 |
commit | a2454a42ad2236f0f6b88be166bc7e6a8f90f036 (patch) | |
tree | 7f6dfc38cfd617f41c63a17640ec7ef8650a2c45 /sdext | |
parent | eba2ef9504fe4034cbb44840d459d82ab8a141b1 (diff) |
fdo#43460: use isEmpty()
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/wrapper/wrapper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/wrapper/wrapper.cxx b/sdext/source/pdfimport/wrapper/wrapper.cxx index 5485511eed38..8492457c5aa2 100644 --- a/sdext/source/pdfimport/wrapper/wrapper.cxx +++ b/sdext/source/pdfimport/wrapper/wrapper.cxx @@ -868,7 +868,7 @@ void Parser::parseLine( const ::rtl::OString& rLine ) oslFileError readLine( oslFileHandle pFile, ::rtl::OStringBuffer& line ) { - OSL_PRECOND( line.getLength() == 0, "line buf not empty" ); + OSL_PRECOND( line.isEmpty(), "line buf not empty" ); // TODO(P3): read larger chunks sal_Char aChar('\n'); |