summaryrefslogtreecommitdiff
path: root/editeng/source/items/flditem.cxx
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
commit65c053ca1a5a8c7318ab1e42cdde2d540a283673 (patch)
tree2e1a29f5d832ff0cb0d4c095f038392b472459d1 /editeng/source/items/flditem.cxx
parent40afe52c92f340d0fedbb59d1071a542e6fb61e3 (diff)
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'editeng/source/items/flditem.cxx')
-rw-r--r--editeng/source/items/flditem.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx
index 3baae88d6636..edfe7921f88a 100644
--- a/editeng/source/items/flditem.cxx
+++ b/editeng/source/items/flditem.cxx
@@ -276,12 +276,12 @@ String SvxDateField::GetFormatted( Date& aDate, SvxDateFormat eFormat, SvNumberF
{
if ( eFormat == SVXDATEFORMAT_SYSTEM )
{
- DBG_ERROR( "SVXDATEFORMAT_SYSTEM not implemented!" );
+ OSL_FAIL( "SVXDATEFORMAT_SYSTEM not implemented!" );
eFormat = SVXDATEFORMAT_STDSMALL;
}
else if ( eFormat == SVXDATEFORMAT_APPDEFAULT )
{
- DBG_ERROR( "SVXDATEFORMAT_APPDEFAULT: take them from where? ");
+ OSL_FAIL( "SVXDATEFORMAT_APPDEFAULT: take them from where? ");
eFormat = SVXDATEFORMAT_STDSMALL;
}
@@ -423,7 +423,7 @@ void SvxURLField::Load( SvPersistStream & rStm )
eFormat= (SvxURLFormat)nFormat;
// Relative save => make it absolute for loading
- DBG_ERROR("No BaseURL!");
+ OSL_FAIL("No BaseURL!");
// TODO/MBA: no BaseURL
aURL = INetURLObject::GetAbsURL( String(), aTmpURL );
}
@@ -433,7 +433,7 @@ void SvxURLField::Load( SvPersistStream & rStm )
void SvxURLField::Save( SvPersistStream & rStm )
{
// Relative save of the URL
- DBG_ERROR("No BaseURL!");
+ OSL_FAIL("No BaseURL!");
// TODO/MBA: no BaseURL
String aTmpURL = INetURLObject::GetRelURL( String(), aURL );
@@ -662,11 +662,11 @@ String SvxExtTimeField::GetFormatted( Time& aTime, SvxTimeFormat eFormat, SvNumb
switch( eFormat )
{
case SVXTIMEFORMAT_SYSTEM :
- DBG_ERROR( "SVXTIMEFORMAT_SYSTEM: not implemented" );
+ OSL_FAIL( "SVXTIMEFORMAT_SYSTEM: not implemented" );
eFormat = SVXTIMEFORMAT_STANDARD;
break;
case SVXTIMEFORMAT_APPDEFAULT :
- DBG_ERROR( "SVXTIMEFORMAT_APPDEFAULT: not implemented" );
+ OSL_FAIL( "SVXTIMEFORMAT_APPDEFAULT: not implemented" );
eFormat = SVXTIMEFORMAT_STANDARD;
break;
default: ;//prevent warning