vcl/headless/svpgdi.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 3a1bc7da8275bf32804b5c468a60d9d556e89267
Author: Stephan Bergmann <[email protected]>
Date:   Mon Aug 12 10:18:31 2013 +0200

    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

diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index d6bd0f1..2a1035f 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:
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to