summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdattr.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:07:44 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:04:37 +0100
commit65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch)
tree2e1a29f5d832ff0cb0d4c095f038392b472459d1 /svx/source/svdraw/svdattr.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'svx/source/svdraw/svdattr.cxx')
-rw-r--r--svx/source/svdraw/svdattr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index 618cde189d5f..4ea30f4b5fec 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -1564,7 +1564,7 @@ const SdrCustomShapeAdjustmentValue& SdrCustomShapeAdjustmentItem::GetValue( sal
{
#ifdef DBG_UTIL
if ( aAdjustmentValueList.Count() <= nIndex )
- DBG_ERROR( "SdrCustomShapeAdjustemntItem::GetValue - nIndex out of range (SJ)" );
+ OSL_FAIL( "SdrCustomShapeAdjustemntItem::GetValue - nIndex out of range (SJ)" );
#endif
return *(SdrCustomShapeAdjustmentValue*)aAdjustmentValueList.GetObject( nIndex );
}
@@ -1669,7 +1669,7 @@ bool SdrEdgeKindItem::QueryValue( uno::Any& rVal, BYTE /*nMemberId*/) const
case SDREDGE_BEZIER : eCT = drawing::ConnectorType_CURVE; break;
case SDREDGE_ARC : eCT = drawing::ConnectorType_CURVE; break;
default:
- DBG_ERROR( "SdrEdgeKindItem::QueryValue : unknown enum" );
+ OSL_FAIL( "SdrEdgeKindItem::QueryValue : unknown enum" );
}
rVal <<= eCT;
@@ -1697,7 +1697,7 @@ bool SdrEdgeKindItem::PutValue( const uno::Any& rVal, BYTE /*nMemberId*/)
case drawing::ConnectorType_LINE : eEK = SDREDGE_ONELINE; break;
case drawing::ConnectorType_LINES : eEK = SDREDGE_THREELINES; break;
default:
- DBG_ERROR( "SdrEdgeKindItem::PuValue : unknown enum" );
+ OSL_FAIL( "SdrEdgeKindItem::PuValue : unknown enum" );
}
SetValue( sal::static_int_cast< USHORT >( eEK ) );