summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-26 10:11:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-26 16:29:14 +0100
commita8b32cc97aac79729b6561e542ede298d4f96c5a (patch)
tree3c3e5b16953f9437d1c69009b91660698fc681aa /drawinglayer
parent42bcbee2e6c71c766054bfd786d85302293b5b99 (diff)
OSL_ENSURE->assert
Change-Id: Ib8ba49e89d03eaf3b3aae94dbbf121898ba9e8de
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclhelperbufferdevice.cxx6
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());