Kaydet (Commit) f3ff1195 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

remove some useless SAL_WARNs

Change-Id: I26ae7aaab0e2d1685fd9c961aba027e1399b6911
üst 54189d62
......@@ -200,8 +200,7 @@ bool OpenGLSalBitmap::AllocateUserData()
}
if (!alloc)
{
SAL_WARN(
"vcl.opengl", "bad alloc " << mnBytesPerRow << "x" << mnHeight);
SAL_WARN("vcl.opengl", "bad alloc " << mnBytesPerRow << "x" << mnHeight);
maUserBuffer.reset( static_cast<sal_uInt8*>(NULL) );
mnBytesPerRow = 0;
}
......@@ -239,8 +238,6 @@ public:
ImplPixelFormat8( const BitmapPalette& rPalette )
: mrPalette( rPalette )
{
if ( mrPalette.GetEntryCount() < 256 )
SAL_WARN( "vcl.opengl", "Bad sign, if we get an OOB pixel we die" );
}
virtual const BitmapColor& ReadPixel() SAL_OVERRIDE
{
......@@ -262,8 +259,6 @@ public:
, mnX(0)
, mnShift(4)
{
if ( mrPalette.GetEntryCount() < 16 )
SAL_WARN( "vcl.opengl", "Bad sign, if we get an OOB pixel we die" );
}
virtual void StartLine( sal_uInt8* pLine ) SAL_OVERRIDE
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment