summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-22 20:26:03 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-24 12:40:46 +0300
commited74575bb6849cd5547cb320fdee54a52353f038 (patch)
tree37223fb8d44332d8d92ed04e3c06ca2ae186ea2f
parent6cf30940750607eeb062113dbee9968769d7bd06 (diff)
Newer boost is more picky with null pointers
Change-Id: I7a2bcd802ad9316696398a2e176dc03ea25baed1
-rw-r--r--vcl/quartz/salbmp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index 4cfccb04bd6f..73ead103c6fa 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -280,7 +280,7 @@ bool QuartzSalBitmap::AllocateUserData()
catch( const std::bad_alloc& )
{
OSL_FAIL( "vcl::QuartzSalBitmap::AllocateUserData: bad alloc" );
- maUserBuffer.reset( NULL );
+ maUserBuffer.reset( static_cast<sal_uInt8*>(NULL) );
mnBytesPerRow = 0;
}