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/table | |
parent | 310a1740120521869af5b2d1503a14b5c138aed2 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sd/source/ui/table')
-rw-r--r-- | sd/source/ui/table/TableDesignPane.cxx | 14 | ||||
-rw-r--r-- | sd/source/ui/table/tablefunction.cxx | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index 9c637222864b..94c41db85f5d 100644 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -155,7 +155,7 @@ TableDesignPane::TableDesignPane( ::Window* pParent, ViewShellBase& rBase, bool catch( Exception& e ) { (void)e; - DBG_ERROR( "sd::CustomAnimationPane::CustomAnimationPane(), Exception caught!" ); + OSL_FAIL( "sd::CustomAnimationPane::CustomAnimationPane(), Exception caught!" ); } onSelectionChanged(); @@ -263,7 +263,7 @@ void TableDesignPane::ApplyStyle() } catch( Exception& ) { - DBG_ERROR("TableDesignPane::implValueSetHdl(), exception caught!"); + OSL_FAIL("TableDesignPane::implValueSetHdl(), exception caught!"); } } @@ -354,7 +354,7 @@ void TableDesignPane::onSelectionChanged() } catch( Exception& ) { - DBG_ERROR( "sd::TableDesignPane::onSelectionChanged(), Exception caught!" ); + OSL_FAIL( "sd::TableDesignPane::onSelectionChanged(), Exception caught!" ); } if( mxSelectedTable != xNewSelection ) @@ -486,7 +486,7 @@ void TableDesignPane::updateControls() } catch( Exception& ) { - DBG_ERROR("sd::TableDesignPane::updateControls(), exception caught!"); + OSL_FAIL("sd::TableDesignPane::updateControls(), exception caught!"); } static_cast< CheckBox* >( mxControls[i].get() )->Check( bUse ? TRUE : FALSE ); mxControls[i]->Enable(bHasTable ? TRUE : FALSE ); @@ -648,7 +648,7 @@ static void FillCellInfoVector( const Reference< XIndexAccess >& xTableStyle, Ce } catch(Exception&) { - DBG_ERROR("sd::FillCellInfoVector(), exception caught!"); + OSL_FAIL("sd::FillCellInfoVector(), exception caught!"); } } @@ -888,12 +888,12 @@ void TableDesignPane::FillDesignPreviewControl() } catch( Exception& ) { - DBG_ERROR("sd::TableDesignPane::FillDesignPreviewControl(), exception caught!"); + OSL_FAIL("sd::TableDesignPane::FillDesignPreviewControl(), exception caught!"); } } catch( Exception& ) { - DBG_ERROR("sd::TableDesignPane::FillDesignPreviewControl(), exception caught!"); + OSL_FAIL("sd::TableDesignPane::FillDesignPreviewControl(), exception caught!"); } pValueSet->SelectItem(nSelectedItem); } diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx index d6d6ab1a45a7..624c08b7fc2b 100644 --- a/sd/source/ui/table/tablefunction.cxx +++ b/sd/source/ui/table/tablefunction.cxx @@ -109,7 +109,7 @@ static void apply_table_style( SdrTableObj* pObj, SdrModel* pModel, const OUStri } catch( Exception& ) { - DBG_ERROR("sd::apply_default_table_style(), exception caught!"); + OSL_FAIL("sd::apply_default_table_style(), exception caught!"); } } } |