vcl/source/gdi/pdfwriter_impl2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit f4a71ffa3c9da9de67a36abf11b01edb1957b334 Author: Julien Nabet <serval2...@yahoo.fr> Date: Sun Sep 10 11:32:12 2017 +0200 OSL_ASSERT->assert in putG4Bits (vcl) Change-Id: Iac93447146ba7d9b3ae7de4eca6fa272b1cc1187 Reviewed-on: https://gerrit.libreoffice.org/42133 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/vcl/source/gdi/pdfwriter_impl2.cxx b/vcl/source/gdi/pdfwriter_impl2.cxx index b7ce3650f65f..6d807d6abfc2 100644 --- a/vcl/source/gdi/pdfwriter_impl2.cxx +++ b/vcl/source/gdi/pdfwriter_impl2.cxx @@ -1693,7 +1693,7 @@ void PDFWriterImpl::putG4Bits( sal_uInt32 i_nLength, sal_uInt32 i_nCode, BitStre writeBuffer( &io_rState.getByte(), 1 ); io_rState.flush(); } - OSL_ASSERT( i_nLength < 9 ); + assert(i_nLength < 9); static const unsigned int msbmask[9] = { 0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff }; io_rState.mnBuffer |= static_cast<sal_uInt8>( (i_nCode & msbmask[i_nLength]) << (io_rState.mnNextBitPos - i_nLength) ); io_rState.mnNextBitPos -= i_nLength; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits