diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:06:55 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:03:01 +0100 |
commit | f4aaa487d7e90c8f4e8ccfcf80adb69904cffdd6 (patch) | |
tree | 6b70319ed584a13db025a28c05cde14ccd018758 /sd/source/ui/animations | |
parent | 310a1740120521869af5b2d1503a14b5c138aed2 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sd/source/ui/animations')
-rw-r--r-- | sd/source/ui/animations/CustomAnimationDialog.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationList.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/animations/CustomAnimationPane.cxx | 10 | ||||
-rw-r--r-- | sd/source/ui/animations/STLPropertySet.cxx | 8 |
4 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/animations/CustomAnimationDialog.cxx b/sd/source/ui/animations/CustomAnimationDialog.cxx index 3925b3be6b2b..842ae8d9c513 100644 --- a/sd/source/ui/animations/CustomAnimationDialog.cxx +++ b/sd/source/ui/animations/CustomAnimationDialog.cxx @@ -1843,7 +1843,7 @@ void CustomAnimationEffectTabPage::onSoundPreview() catch( uno::Exception& e ) { (void)e; - DBG_ERROR("CustomAnimationEffectTabPage::onSoundPreview(), exception caught!" ); + OSL_FAIL("CustomAnimationEffectTabPage::onSoundPreview(), exception caught!" ); } } diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx index 477a680dacb2..80607b4da7bd 100644 --- a/sd/source/ui/animations/CustomAnimationList.cxx +++ b/sd/source/ui/animations/CustomAnimationList.cxx @@ -728,7 +728,7 @@ void CustomAnimationList::append( CustomAnimationEffectPtr pEffect ) catch( Exception& e ) { (void)e; - DBG_ERROR("sd::CustomAnimationList::append(), exception catched!" ); + OSL_FAIL("sd::CustomAnimationList::append(), exception catched!" ); } } @@ -784,7 +784,7 @@ void CustomAnimationList::onSelectionChanged( Any aSelection ) } catch( Exception& ) { - DBG_ERROR( "sd::CustomAnimationList::onSelectionChanged(), Exception catched!" ); + OSL_FAIL( "sd::CustomAnimationList::onSelectionChanged(), Exception catched!" ); } } diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index dd47bc82d653..edec385e221e 100644 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -240,7 +240,7 @@ CustomAnimationPane::CustomAnimationPane( ::Window* pParent, ViewShellBase& rBas catch( Exception& e ) { (void)e; - DBG_ERROR( "sd::CustomAnimationPane::CustomAnimationPane(), Exception cought!" ); + OSL_FAIL( "sd::CustomAnimationPane::CustomAnimationPane(), Exception cought!" ); } // get current page and update custom animation list @@ -1047,7 +1047,7 @@ void CustomAnimationPane::onSelectionChanged() } catch( Exception& ) { - DBG_ERROR( "sd::CustomAnimationPane::onSelectionChanged(), Exception catched!" ); + OSL_FAIL( "sd::CustomAnimationPane::onSelectionChanged(), Exception catched!" ); } } } @@ -1775,7 +1775,7 @@ void CustomAnimationPane::onChangeCurrentPage() } catch( Exception& ) { - DBG_ERROR( "sd::CustomAnimationPane::onChangeCurrentPage(), exception catched!" ); + OSL_FAIL( "sd::CustomAnimationPane::onChangeCurrentPage(), exception catched!" ); } } @@ -1835,7 +1835,7 @@ bool getTextSelection( const Any& rSelection, Reference< XShape >& xShape, std:: catch( Exception& e ) { (void)e; - DBG_ERROR( "sd::CustomAnimationPane::getTextSelection(), exception cought!" ); + OSL_FAIL( "sd::CustomAnimationPane::getTextSelection(), exception cought!" ); } return false; @@ -1903,7 +1903,7 @@ void CustomAnimationPane::onChange( bool bCreate ) } else { - DBG_ERROR("sd::CustomAnimationPane::onChange(), unknown view selection!" ); + OSL_FAIL("sd::CustomAnimationPane::onChange(), unknown view selection!" ); return; } } diff --git a/sd/source/ui/animations/STLPropertySet.cxx b/sd/source/ui/animations/STLPropertySet.cxx index ebd5b29b217b..89af3b24e3e1 100644 --- a/sd/source/ui/animations/STLPropertySet.cxx +++ b/sd/source/ui/animations/STLPropertySet.cxx @@ -63,7 +63,7 @@ void STLPropertySet::setPropertyValue( sal_Int32 nHandle, const Any& rValue, sal } else { - DBG_ERROR( "sd::STLPropertySet::setPropertyValue(), unknown property!" ); + OSL_FAIL( "sd::STLPropertySet::setPropertyValue(), unknown property!" ); } } @@ -76,7 +76,7 @@ Any STLPropertySet::getPropertyValue( sal_Int32 nHandle ) const } else { - DBG_ERROR( "sd::STLPropertySet::setPropertyValue(), unknown property!" ); + OSL_FAIL( "sd::STLPropertySet::setPropertyValue(), unknown property!" ); Any aAny; return aAny; @@ -92,7 +92,7 @@ sal_Int32 STLPropertySet::getPropertyState( sal_Int32 nHandle ) const } else { - DBG_ERROR( "sd::STLPropertySet::setPropertyState(), unknown property!" ); + OSL_FAIL( "sd::STLPropertySet::setPropertyState(), unknown property!" ); return STLPropertyState_AMBIGUOUS; } } @@ -106,7 +106,7 @@ void STLPropertySet::setPropertyState( sal_Int32 nHandle, sal_Int32 nState ) } else { - DBG_ERROR( "sd::STLPropertySet::setPropertyState(), unknown property!" ); + OSL_FAIL( "sd::STLPropertySet::setPropertyState(), unknown property!" ); } } |