From a2454a42ad2236f0f6b88be166bc7e6a8f90f036 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 9 Mar 2013 17:22:11 +0100 Subject: fdo#43460: use isEmpty() Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e --- sdext/source/pdfimport/wrapper/wrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext') 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'); -- cgit