summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-16 13:40:45 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-11-16 17:26:06 +0100
commitf3ff1195cfab0199ebbfda1b1b4f72a78f3093b8 (patch)
treea6b28149711891ab2d1726519533170d0b9a0c88
parent54189d62363c577b57a7af77f5fadf42fc2ca0b8 (diff)
remove some useless SAL_WARNs
Change-Id: I26ae7aaab0e2d1685fd9c961aba027e1399b6911
-rw-r--r--vcl/opengl/salbmp.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index ad43ef825733..4b5287e3c8c1 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -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
{