summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/graphictools.cxx
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/source/gdi/graphictools.cxx
parent7b981b7cab15e0fc2ebb159df2d40c3a2499b265 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'vcl/source/gdi/graphictools.cxx')
-rw-r--r--vcl/source/gdi/graphictools.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/vcl/source/gdi/graphictools.cxx b/vcl/source/gdi/graphictools.cxx
index 3edf63925c9e..08533663c562 100644
--- a/vcl/source/gdi/graphictools.cxx
+++ b/vcl/source/gdi/graphictools.cxx
@@ -52,7 +52,7 @@ static ::rtl::OString polyToString( const Polygon& rPoly )
break;
default:
- DBG_ERROR( "SvtGraphicStroke::polyToString invalid flag");
+ OSL_FAIL( "SvtGraphicStroke::polyToString invalid flag");
break;
}
aStr += ::rtl::OString::valueOf( static_cast< double >( rPoly[nVertex].getX() ) );
@@ -227,7 +227,7 @@ void SvtGraphicStroke::getDashArray( DashArray& rDashArray ) const
break;
default:
- DBG_ERROR( "SvtGraphicStroke::toString missing cap type");
+ OSL_FAIL( "SvtGraphicStroke::toString missing cap type");
break;
}
aStr += " join: ";
@@ -250,7 +250,7 @@ void SvtGraphicStroke::getDashArray( DashArray& rDashArray ) const
break;
default:
- DBG_ERROR( "SvtGraphicStroke::toString missing join type");
+ OSL_FAIL( "SvtGraphicStroke::toString missing join type");
break;
}
aStr += " ";
@@ -515,7 +515,7 @@ void SvtGraphicFill::getGraphic( Graphic& rGraphic ) const
break;
default:
- DBG_ERROR( "SvtGraphicFill::toString missing fill rule");
+ OSL_FAIL( "SvtGraphicFill::toString missing fill rule");
break;
}
aStr += " type: ";
@@ -538,7 +538,7 @@ void SvtGraphicFill::getGraphic( Graphic& rGraphic ) const
break;
default:
- DBG_ERROR( "SvtGraphicStroke::toString missing fill type");
+ OSL_FAIL( "SvtGraphicStroke::toString missing fill type");
break;
}
@@ -564,7 +564,7 @@ void SvtGraphicFill::getGraphic( Graphic& rGraphic ) const
break;
default:
- DBG_ERROR( "SvtGraphicStroke::toString missing hatch type");
+ OSL_FAIL( "SvtGraphicStroke::toString missing hatch type");
break;
}
@@ -587,7 +587,7 @@ void SvtGraphicFill::getGraphic( Graphic& rGraphic ) const
break;
default:
- DBG_ERROR( "SvtGraphicStroke::toString missing gradient type");
+ OSL_FAIL( "SvtGraphicStroke::toString missing gradient type");
break;
}
@@ -618,7 +618,7 @@ void SvtGraphicFill::getGraphic( Graphic& rGraphic ) const
break;
default:
- DBG_ERROR( "SvtGraphicStroke::toString missing graphic type");
+ OSL_FAIL( "SvtGraphicStroke::toString missing graphic type");
break;
}