summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-12 10:18:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-12 10:20:30 +0200
commit3a1bc7da8275bf32804b5c468a60d9d556e89267 (patch)
tree2092006b6b47aa7d3bcb3c6b071ea4058fa6fd81 /vcl/headless
parentdb0fa92637a1b2edf26da9917c9dce050ebc8a78 (diff)
Assert has become somewhat redundant
...with d8dbf1b5dbfa0db2d765063a1d848d031835398a "Turn basebmp::Format into a proper enum" demonstrating that nDeviceFmt should only take on values enumerated at basebmp::Format. Change-Id: I9f5fe2b3d403a8fc50a286b40b9e1bc74079e2cb
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpgdi.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index d6bd0f170824..2a1035fab25a 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -116,7 +116,6 @@ void SvpSalGraphics::setDevice( basebmp::BitmapDeviceSharedPtr& rDevice )
#ifndef IOS
// determine matching bitmap format for masks
basebmp::Format nDeviceFmt = m_aDevice->getScanlineFormat();
- DBG_ASSERT( (nDeviceFmt <= (sal_uInt32)basebmp::FORMAT_MAX), "SVP::setDevice() with invalid bitmap format" );
switch( nDeviceFmt )
{
case basebmp::FORMAT_EIGHT_BIT_GREY: