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/app | |
parent | 310a1740120521869af5b2d1503a14b5c138aed2 (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r-- | sd/source/ui/app/optsitem.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/app/sdmod2.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/app/sdxfer.cxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx index 2cf48bae0c9c..8dfb8f76500a 100644 --- a/sd/source/ui/app/optsitem.cxx +++ b/sd/source/ui/app/optsitem.cxx @@ -155,7 +155,7 @@ void SdOptionsGeneric::Commit( SdOptionsItem& rCfgItem ) const rCfgItem.PutProperties( aNames, aValues ); else { - DBG_ERROR( "PutProperties failed" ); + OSL_FAIL( "PutProperties failed" ); } } } diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index 02782541dd7f..bfb49147dcdb 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -401,7 +401,7 @@ IMPL_LINK(SdModule, CalcFieldValueHdl, EditFieldInfo*, pInfo) } else { - DBG_ERROR("sd::SdModule::CalcFieldValueHdl(), unknown field type!"); + OSL_FAIL("sd::SdModule::CalcFieldValueHdl(), unknown field type!"); } if( aRepresentation.Len() == 0 ) // TODO: Edit engine doesn't handle empty fields? diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx index 8178d3708169..51df36a4e132 100644 --- a/sd/source/ui/app/sdxfer.cxx +++ b/sd/source/ui/app/sdxfer.cxx @@ -308,7 +308,7 @@ void SdTransferable::CreateData() if( !maDocShellRef.Is() ) { - DBG_ERROR( "SdTransferable::CreateData(), failed to create a model with persist, clipboard operation will fail for OLE objects!" ); + OSL_FAIL( "SdTransferable::CreateData(), failed to create a model with persist, clipboard operation will fail for OLE objects!" ); mbOwnDocument = TRUE; } @@ -629,7 +629,7 @@ sal_Bool SdTransferable::WriteObject( SotStorageStreamRef& rxOStm, void* pObject } catch( Exception& ) { - DBG_ERROR( "sd::SdTransferable::WriteObject(), exception catched!" ); + OSL_FAIL( "sd::SdTransferable::WriteObject(), exception catched!" ); bRet = FALSE; } } |