summaryrefslogtreecommitdiff
path: root/sd/source/filter/ppt/ppt97animations.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-03-01 19:06:55 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-03-02 15:03:01 +0100
commitf4aaa487d7e90c8f4e8ccfcf80adb69904cffdd6 (patch)
tree6b70319ed584a13db025a28c05cde14ccd018758 /sd/source/filter/ppt/ppt97animations.cxx
parent310a1740120521869af5b2d1503a14b5c138aed2 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sd/source/filter/ppt/ppt97animations.cxx')
-rw-r--r--sd/source/filter/ppt/ppt97animations.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/ppt/ppt97animations.cxx b/sd/source/filter/ppt/ppt97animations.cxx
index b775fbf817c3..033e0e33604e 100644
--- a/sd/source/filter/ppt/ppt97animations.cxx
+++ b/sd/source/filter/ppt/ppt97animations.cxx
@@ -591,7 +591,7 @@ void Ppt97Animation::UpdateCacheData() const
default:
{
m_aPresetId = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ooo-entrance-appear"));
- DBG_ERROR("no effect mapped");
+ OSL_FAIL("no effect mapped");
}
break;
}
@@ -605,20 +605,20 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
return;
if( !pObj || !pObj->GetPage() )
{
- DBG_ERROR("no valid SdrObject or page found for ppt import");
+ OSL_FAIL("no valid SdrObject or page found for ppt import");
return;
}
uno::Reference< drawing::XShape > xShape = GetXShapeForSdrObject( pObj );
if( !xShape.is() )
{
- DBG_ERROR("no XShape interface found for ppt import");
+ OSL_FAIL("no XShape interface found for ppt import");
return;
}
::sd::MainSequencePtr pMainSequence = static_cast<SdPage*>(pObj->GetPage())->getMainSequence();
if( !pMainSequence.get() )
{
- DBG_ERROR("no MainSequence found for ppt import");
+ OSL_FAIL("no MainSequence found for ppt import");
return;
}
@@ -626,7 +626,7 @@ void Ppt97Animation::createAndSetCustomAnimationEffect( SdrObject* pObj )
::sd::CustomAnimationPresetPtr pPreset( rPresets.getEffectDescriptor( this->GetPresetId() ) );
if( !pPreset.get() )
{
- DBG_ERROR("no suiteable preset found for ppt import");
+ OSL_FAIL("no suiteable preset found for ppt import");
return;
}