diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 17:55:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 15:00:30 +0100 |
commit | fdeb50167836803f1a79082ddd25e4ae8ac20611 (patch) | |
tree | 3e9ff2e3cba72052ce97b0b16575791d2cdbdf6f /extensions/source/abpilot/fieldmappingimpl.cxx | |
parent | 096b61aa08ee37c6d6818791a7c5fb94d2f1ef7d (diff) |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'extensions/source/abpilot/fieldmappingimpl.cxx')
-rw-r--r-- | extensions/source/abpilot/fieldmappingimpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/abpilot/fieldmappingimpl.cxx b/extensions/source/abpilot/fieldmappingimpl.cxx index 88c6c4747d71..9c4c3b2e4bec 100644 --- a/extensions/source/abpilot/fieldmappingimpl.cxx +++ b/extensions/source/abpilot/fieldmappingimpl.cxx @@ -148,7 +148,7 @@ namespace abp } catch(const Exception&) { - DBG_ERROR("fieldmapping::invokeDialog: caught an exception while executing the dialog!"); + OSL_FAIL("fieldmapping::invokeDialog: caught an exception while executing the dialog!"); } return sal_False; } @@ -228,20 +228,20 @@ namespace abp aDriverFieldAliasing.getNodeValue( sDriverProgrammatic ) >>= sDriverUI; if ( 0 == sDriverUI.getLength() ) { - DBG_ERROR( "fieldmapping::defaultMapping: invalid driver UI column name!"); + OSL_FAIL( "fieldmapping::defaultMapping: invalid driver UI column name!"); } else _rFieldAssignment[ sAddressProgrammatic ] = sDriverUI; } else { - DBG_ERROR( "fieldmapping::defaultMapping: invalid driver programmatic name!" ); + OSL_FAIL( "fieldmapping::defaultMapping: invalid driver programmatic name!" ); } } } catch( const Exception& ) { - DBG_ERROR("fieldmapping::defaultMapping: code is assumed to throw no exceptions!"); + OSL_FAIL("fieldmapping::defaultMapping: code is assumed to throw no exceptions!"); // the config nodes we're using herein should not do this .... } } |