diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 19:07:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:04:37 +0100 |
commit | 65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch) | |
tree | 2e1a29f5d832ff0cb0d4c095f038392b472459d1 /fpicker | |
parent | 40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/OfficeControlAccess.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/asyncfilepicker.cxx | 4 | ||||
-rw-r--r-- | fpicker/source/office/commonpicker.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/fpsmartcontent.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx index f8bec371a898..de223c446765 100644 --- a/fpicker/source/office/OfficeControlAccess.cxx +++ b/fpicker/source/office/OfficeControlAccess.cxx @@ -704,7 +704,7 @@ namespace svt break; default: - DBG_ERROR( "OControlAccess::implSetControlProperty: invalid property id!" ); + OSL_FAIL( "OControlAccess::implSetControlProperty: invalid property id!" ); } } @@ -780,7 +780,7 @@ namespace svt break; default: - DBG_ERROR( "OControlAccess::implGetControlProperty: invalid property id!" ); + OSL_FAIL( "OControlAccess::implGetControlProperty: invalid property id!" ); } return aReturn; } diff --git a/fpicker/source/office/asyncfilepicker.cxx b/fpicker/source/office/asyncfilepicker.cxx index 330eaebe26b2..9062a18d577e 100644 --- a/fpicker/source/office/asyncfilepicker.cxx +++ b/fpicker/source/office/asyncfilepicker.cxx @@ -143,7 +143,7 @@ namespace svt break; default: - DBG_ERROR( "AsyncPickerAction::execute: unknown action!" ); + OSL_FAIL( "AsyncPickerAction::execute: unknown action!" ); break; } @@ -208,7 +208,7 @@ namespace svt break; default: - DBG_ERROR( "AsyncPickerAction::OnActionDone: unknown action!" ); + OSL_FAIL( "AsyncPickerAction::OnActionDone: unknown action!" ); break; } diff --git a/fpicker/source/office/commonpicker.cxx b/fpicker/source/office/commonpicker.cxx index e87f0d5c4857..71a0fd0a6a11 100644 --- a/fpicker/source/office/commonpicker.cxx +++ b/fpicker/source/office/commonpicker.cxx @@ -169,7 +169,7 @@ namespace svt } else { - DBG_ERROR( "OCommonPicker::disposing: where did this come from?" ); + OSL_FAIL( "OCommonPicker::disposing: where did this come from?" ); } } diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx index 31c7030afb03..b66cd8ac05a6 100644 --- a/fpicker/source/office/fpsmartcontent.cxx +++ b/fpicker/source/office/fpsmartcontent.cxx @@ -165,7 +165,7 @@ namespace svt } catch( Exception& ) { - DBG_ERROR( "SmartContent::bindTo: unexpected exception caught!" ); + OSL_FAIL( "SmartContent::bindTo: unexpected exception caught!" ); } } else diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index ed08862c1590..2c724e3f921f 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -313,7 +313,7 @@ namespace } catch( const Exception& ) { - DBG_ERROR( "lcl_getHomeDirectory: caught an exception!" ); + OSL_FAIL( "lcl_getHomeDirectory: caught an exception!" ); } return 0 < _rHomeDir.Len(); } @@ -1299,7 +1299,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid ) break; default: - DBG_ERROR("SvtFileDialog, OpenHdl_Impl: invalid mode!"); + OSL_FAIL("SvtFileDialog, OpenHdl_Impl: invalid mode!"); } // Interessenten benachrichtigen. @@ -1994,7 +1994,7 @@ void SvtFileDialog::displayIOException( const String& _rURL, IOErrorCode _eCode } catch( const Exception& ) { - DBG_ERROR( "iodlg::displayIOException: caught an exception!" ); + OSL_FAIL( "iodlg::displayIOException: caught an exception!" ); } } |