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 /forms/source/component/CheckBox.cxx | |
parent | Remove TF_SDBAPI (diff) | |
download | core-fdeb50167836803f1a79082ddd25e4ae8ac20611.tar.gz core-fdeb50167836803f1a79082ddd25e4ae8ac20611.zip |
Move DBG_ERROR to OSL_FAIL
Diffstat (limited to 'forms/source/component/CheckBox.cxx')
-rw-r--r-- | forms/source/component/CheckBox.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/component/CheckBox.cxx b/forms/source/component/CheckBox.cxx index 11ccbe16690a..5fbf0a8d1086 100644 --- a/forms/source/component/CheckBox.cxx +++ b/forms/source/component/CheckBox.cxx @@ -200,7 +200,7 @@ void SAL_CALL OCheckBoxModel::read(const Reference<stario::XObjectInputStream>& readCommonProperties(_rxInStream); break; default: - DBG_ERROR("OCheckBoxModel::read : unknown version !"); + OSL_FAIL("OCheckBoxModel::read : unknown version !"); defaultCommonProperties(); break; } @@ -257,12 +257,12 @@ sal_Bool OCheckBoxModel::commitControlValueToDbColumn( bool /*_bPostReset*/ ) m_xColumnUpdate->updateBoolean( sal_False ); break; default: - DBG_ERROR("OCheckBoxModel::commitControlValueToDbColumn: invalid value !"); + OSL_FAIL("OCheckBoxModel::commitControlValueToDbColumn: invalid value !"); } } catch(Exception&) { - DBG_ERROR("OCheckBoxModel::commitControlValueToDbColumn: could not commit !"); + OSL_FAIL("OCheckBoxModel::commitControlValueToDbColumn: could not commit !"); } } return sal_True; |