diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-10-09 14:11:14 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-10-09 19:33:13 +0300 |
commit | 828d91ecde50b3a5e6c02ef1e5061e6e655a1399 (patch) | |
tree | 9807500718c9be01ded63e17956e16bb4ae61e81 /vcl | |
parent | 1ab835e0fae20118971a349811ae28712c41fbc0 (diff) |
Bin some no longer needed dbgutil code
It was used to initialize a virtual device pixel buffer to an
"interesting" pattern, in case actual rendering to it failed.
Change-Id: Iacdd86382dfa8c9ed1ea9d213fa489515b2b217d
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/quartz/salvd.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/vcl/quartz/salvd.cxx b/vcl/quartz/salvd.cxx index 8de6d38ee52d..d752a2d84acf 100644 --- a/vcl/quartz/salvd.cxx +++ b/vcl/quartz/salvd.cxx @@ -237,12 +237,6 @@ bool AquaSalVirtualDevice::SetSize( long nDX, long nDY ) const int nBytesPerRow = (mnBitmapDepth * nDX + 7) / 8; void* pRawData = std::malloc( nBytesPerRow * nDY ); -#ifdef DBG_UTIL - for (ssize_t i = 0; i < nBytesPerRow * nDY; i++) - { - static_cast<sal_uInt8*>(pRawData)[i] = (i & 0xFF); - } -#endif mxBitmapContext = CGBitmapContextCreate( pRawData, nDX, nDY, mnBitmapDepth, nBytesPerRow, GetSalData()->mxGraySpace, kCGImageAlphaNone ); |