summaryrefslogtreecommitdiff
path: root/vcl/unx/headless
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:08:19 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 14:46:42 +0100
commit11d20507806d30e2d1955b93a568b84a2216ef69 (patch)
treeb34fa3afac27eac9404f16e46b530aa2cbcad41d /vcl/unx/headless
parent7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'vcl/unx/headless')
-rw-r--r--vcl/unx/headless/svpelement.cxx2
-rw-r--r--vcl/unx/headless/svppspgraphics.cxx14
-rw-r--r--vcl/unx/headless/svptext.cxx2
3 files changed, 9 insertions, 9 deletions
diff --git a/vcl/unx/headless/svpelement.cxx b/vcl/unx/headless/svpelement.cxx
index 55af58700a85..cc3d4a1b0726 100644
--- a/vcl/unx/headless/svpelement.cxx
+++ b/vcl/unx/headless/svpelement.cxx
@@ -283,7 +283,7 @@ sal_uInt32 SvpElement::getBitCountFromScanlineFormat( sal_Int32 nFormat )
nBitCount = 32;
break;
default:
- DBG_ERROR( "unsupported basebmp format" );
+ OSL_FAIL( "unsupported basebmp format" );
break;
}
return nBitCount;
diff --git a/vcl/unx/headless/svppspgraphics.cxx b/vcl/unx/headless/svppspgraphics.cxx
index 1c803b58f913..cc2e2c9e20ac 100644
--- a/vcl/unx/headless/svppspgraphics.cxx
+++ b/vcl/unx/headless/svppspgraphics.cxx
@@ -372,7 +372,7 @@ BOOL PspGraphics::drawEPS( long nX, long nY, long nWidth, long nHeight, void* pP
void PspGraphics::copyBits( const SalTwoRect* /*pPosAry*/,
SalGraphics* /*pSSrcGraphics*/ )
{
- DBG_ERROR( "Error: PrinterGfx::CopyBits() not implemented" );
+ OSL_FAIL( "Error: PrinterGfx::CopyBits() not implemented" );
}
void PspGraphics::copyArea ( long /*nDestX*/, long /*nDestY*/,
@@ -380,7 +380,7 @@ void PspGraphics::copyArea ( long /*nDestX*/, long /*nDestY*/,
long /*nSrcWidth*/, long /*nSrcHeight*/,
USHORT /*nFlags*/ )
{
- DBG_ERROR( "Error: PrinterGfx::CopyArea() not implemented" );
+ OSL_FAIL( "Error: PrinterGfx::CopyArea() not implemented" );
}
void PspGraphics::drawBitmap( const SalTwoRect* pPosAry, const SalBitmap& rSalBitmap )
@@ -402,21 +402,21 @@ void PspGraphics::drawBitmap( const SalTwoRect* /*pPosAry*/,
const SalBitmap& /*rSalBitmap*/,
const SalBitmap& /*rTransBitmap*/ )
{
- DBG_ERROR("Error: no PrinterGfx::DrawBitmap() for transparent bitmap");
+ OSL_FAIL("Error: no PrinterGfx::DrawBitmap() for transparent bitmap");
}
void PspGraphics::drawBitmap( const SalTwoRect* /*pPosAry*/,
const SalBitmap& /*rSalBitmap*/,
SalColor /*nTransparentColor*/ )
{
- DBG_ERROR("Error: no PrinterGfx::DrawBitmap() for transparent color");
+ OSL_FAIL("Error: no PrinterGfx::DrawBitmap() for transparent color");
}
void PspGraphics::drawMask( const SalTwoRect* /*pPosAry*/,
const SalBitmap& /*rSalBitmap*/,
SalColor /*nMaskColor*/ )
{
- DBG_ERROR("Error: PrinterGfx::DrawMask() not implemented");
+ OSL_FAIL("Error: PrinterGfx::DrawMask() not implemented");
}
SalBitmap* PspGraphics::getBitmap( long /*nX*/, long /*nY*/, long /*nDX*/, long /*nDY*/ )
@@ -427,7 +427,7 @@ SalBitmap* PspGraphics::getBitmap( long /*nX*/, long /*nY*/, long /*nDX*/, long
SalColor PspGraphics::getPixel( long /*nX*/, long /*nY*/ )
{
- DBG_ERROR ("Warning: PrinterGfx::GetPixel() not implemented");
+ OSL_FAIL("Warning: PrinterGfx::GetPixel() not implemented");
return 0;
}
@@ -438,7 +438,7 @@ void PspGraphics::invert(
long /*nDY*/,
SalInvert /*nFlags*/ )
{
- DBG_ERROR ("Warning: PrinterGfx::Invert() not implemented");
+ OSL_FAIL("Warning: PrinterGfx::Invert() not implemented");
}
//==========================================================================
diff --git a/vcl/unx/headless/svptext.cxx b/vcl/unx/headless/svptext.cxx
index 6a4685165749..07e6497d839a 100644
--- a/vcl/unx/headless/svptext.cxx
+++ b/vcl/unx/headless/svptext.cxx
@@ -118,7 +118,7 @@ BitmapDeviceSharedPtr SvpGlyphPeer::GetGlyphBmp( ServerFont& rServerFont,
bFound = rServerFont.GetGlyphBitmap8( nGlyphIndex, pGcpHelper->maRawBitmap );
break;
default:
- DBG_ERROR( "SVP GCP::GetGlyphBmp(): illegal scanline format");
+ OSL_FAIL( "SVP GCP::GetGlyphBmp(): illegal scanline format");
// fall back to black&white mask
nBmpFormat = Format::ONE_BIT_LSB_GREY;
bFound = false;