diff options
author | Michaël Lefèvre <lefevre00@yahoo.fr> | 2014-04-04 00:13:31 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-04 07:23:43 -0500 |
commit | 453ee351f32494b1f30b477069cc7a1834352377 (patch) | |
tree | 2e5fc2a57d2a2f3eb839e929cae42d7d61451e05 /sdext | |
parent | Fix a memory leak by freeing last pBytes (diff) | |
download | core-453ee351f32494b1f30b477069cc7a1834352377.tar.gz core-453ee351f32494b1f30b477069cc7a1834352377.zip |
fdo#43157 : clean up more OSL_POSTCOND
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16
Reviewed-on: https://gerrit.libreoffice.org/8832
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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 bfa11ee95c80..189b29ced8b7 100644 --- a/sdext/source/pdfimport/wrapper/wrapper.cxx +++ b/sdext/source/pdfimport/wrapper/wrapper.cxx @@ -878,7 +878,7 @@ void Parser::parseLine( const OString& rLine ) } // all consumed? - OSL_POSTCOND(m_nCharIndex==-1,"leftover scanner input"); + SAL_WARN_IF(m_nCharIndex!=-1, "sdext.pdfimport", "leftover scanner input"); } oslFileError readLine( oslFileHandle pFile, OStringBuffer& line ) |