summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unoipset.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 /editeng/source/uno/unoipset.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'editeng/source/uno/unoipset.cxx')
-rw-r--r--editeng/source/uno/unoipset.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/uno/unoipset.cxx b/editeng/source/uno/unoipset.cxx
index 3fb7a4974812..2802b87afb6f 100644
--- a/editeng/source/uno/unoipset.cxx
+++ b/editeng/source/uno/unoipset.cxx
@@ -155,7 +155,7 @@ uno::Any SvxItemPropertySet::getPropertyValue( const SfxItemPropertySimpleEntry*
}
else
{
- DBG_ERROR( "No SfxPoolItem found for property!" );
+ OSL_FAIL( "No SfxPoolItem found for property!" );
}
return aVal;
@@ -178,7 +178,7 @@ void SvxItemPropertySet::setPropertyValue( const SfxItemPropertySimpleEntry* pMa
{
if( pPool == NULL )
{
- DBG_ERROR( "No default item and no pool?" );
+ OSL_FAIL( "No default item and no pool?" );
return;
}
@@ -331,13 +331,13 @@ void SvxUnoConvertToMM( const SfxMapUnit eSourceMapUnit, uno::Any & rMetric ) th
rMetric <<= (sal_uInt32)(TWIPS_TO_MM(*(sal_uInt32*)rMetric.getValue()));
break;
default:
- DBG_ERROR("AW: Missing unit translation to 100th mm!");
+ OSL_FAIL("AW: Missing unit translation to 100th mm!");
}
break;
}
default:
{
- DBG_ERROR("AW: Missing unit translation to 100th mm!");
+ OSL_FAIL("AW: Missing unit translation to 100th mm!");
}
}
}
@@ -369,13 +369,13 @@ void SvxUnoConvertFromMM( const SfxMapUnit eDestinationMapUnit, uno::Any & rMetr
rMetric <<= (sal_uInt32)(MM_TO_TWIPS(*(sal_uInt32*)rMetric.getValue()));
break;
default:
- DBG_ERROR("AW: Missing unit translation to 100th mm!");
+ OSL_FAIL("AW: Missing unit translation to 100th mm!");
}
break;
}
default:
{
- DBG_ERROR("AW: Missing unit translation to PoolMetrics!");
+ OSL_FAIL("AW: Missing unit translation to PoolMetrics!");
}
}
}