diff options
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpbmp.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index 28b64508bd81..3228e03bf036 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -271,8 +271,10 @@ BitmapBuffer* SvpSalBitmap::AcquireBuffer(BitmapAccessMode) return mpDIB; } -void SvpSalBitmap::ReleaseBuffer(BitmapBuffer*, BitmapAccessMode) +void SvpSalBitmap::ReleaseBuffer(BitmapBuffer*, BitmapAccessMode nMode) { + if( nMode == BitmapAccessMode::Write ) + InvalidateChecksum(); } bool SvpSalBitmap::GetSystemData( BitmapSystemData& ) |