diff options
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx index e94f5818d077..a99909925293 100644 --- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx +++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx @@ -347,14 +347,14 @@ namespace drawinglayer VirtualDevice& impBufferDevice::getContent() { - OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() before accessing (!)"); + assert(mpContent && "impBufferDevice: No content, check isVisible() before accessing (!)"); return *mpContent; } VirtualDevice& impBufferDevice::getMask() { - OSL_ENSURE(mpContent, "impBufferDevice: No content, check isVisible() before accessing (!)"); - if(!mpMask) + assert(mpContent && "impBufferDevice: No content, check isVisible() before accessing (!)"); + if (!mpMask) { mpMask = getVDevBuffer().alloc(mrOutDev, maDestPixel.GetSize(), true, 1); mpMask->SetMapMode(mpContent->GetMapMode()); |