summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/pngread.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:05:32 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:05:32 +1000
commit768f65105b4f45793bd59331732626f072db9639 (patch)
treecf31d61a9ed1406bf46578124841b902f18be1ed /vcl/source/gdi/pngread.cxx
parent34ca5a2fb5085bb38a9ab050f60ac0a2283acd03 (diff)
tdf#43157: convert most of vcl codebase away from OSL_ASSERT to assert
Change-Id: Ifaae7af7169fe6c24d152f8aba51ba3ff3bdb9f8
Diffstat (limited to 'vcl/source/gdi/pngread.cxx')
-rw-r--r--vcl/source/gdi/pngread.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/pngread.cxx b/vcl/source/gdi/pngread.cxx
index 40d4085f56ff..7372bb6e8858 100644
--- a/vcl/source/gdi/pngread.cxx
+++ b/vcl/source/gdi/pngread.cxx
@@ -1015,7 +1015,7 @@ bool PNGReaderImpl::ImplPreparePass()
void PNGReaderImpl::ImplApplyFilter()
{
- OSL_ASSERT( mnScansize >= mnBPP + 1 );
+ assert( mnScansize >= mnBPP + 1 );
const sal_uInt8* const pScanEnd = mpInflateInBuf + mnScansize;
sal_uInt8 nFilterType = *mpInflateInBuf; // the filter type may change each scanline