summaryrefslogtreecommitdiff
path: root/fpicker
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
commitb469b6676d7ff6da185ecba38bee685ab38dd73e (patch)
tree3bd9bb85b15ba89d5ce7322d042e0ee34475266f /fpicker
parent5103a344de8de283bd4c310fc35287baa9706214 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/OfficeControlAccess.cxx4
-rw-r--r--fpicker/source/office/asyncfilepicker.cxx4
-rw-r--r--fpicker/source/office/commonpicker.cxx2
-rw-r--r--fpicker/source/office/fpsmartcontent.cxx2
-rw-r--r--fpicker/source/office/iodlg.cxx6
5 files changed, 9 insertions, 9 deletions
diff --git a/fpicker/source/office/OfficeControlAccess.cxx b/fpicker/source/office/OfficeControlAccess.cxx
index c107252e63..4e77054ead 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 26888c76e3..3982ed001f 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 ea67a5e52f..7cf414f469 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 5b8bb254e9..5b33754049 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 e3f24cc9ad..7ecfa104a9 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!" );
}
}