diff options
-rw-r--r-- | vcl/quartz/salbmp.cxx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx index f9a10a44020b..aba40b44d8e0 100644 --- a/vcl/quartz/salbmp.cxx +++ b/vcl/quartz/salbmp.cxx @@ -272,10 +272,6 @@ bool QuartzSalBitmap::CreateContext() try { m_pContextBuffer = o3tl::make_shared_array<sal_uInt8>(mnHeight * nContextBytesPerRow); -#ifdef DBG_UTIL - for (size_t i = 0; i < mnHeight * nContextBytesPerRow; i++) - m_pContextBuffer.get()[i] = (i & 0xFF); -#endif if( !bSkipConversion ) { @@ -342,15 +338,6 @@ bool QuartzSalBitmap::AllocateUserData() m_pUserBuffer.reset( static_cast<sal_uInt8*>(nullptr) ); mnBytesPerRow = 0; } -#ifdef DBG_UTIL - else - { - for (size_t i = 0; i < mnBytesPerRow * mnHeight; i++) - { - m_pUserBuffer.get()[i] = (i & 0xFF); - } - } -#endif return m_pUserBuffer.get() != nullptr; } |