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/Grid.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/Grid.cxx')
-rw-r--r-- | forms/source/component/Grid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/Grid.cxx b/forms/source/component/Grid.cxx index 701f143c1c0a..7fdb83591834 100644 --- a/forms/source/component/Grid.cxx +++ b/forms/source/component/Grid.cxx @@ -203,7 +203,7 @@ void OGridControlModel::cloneColumns( const OGridControlModel* _pOriginalContain } catch( const Exception& ) { - DBG_ERROR( "OGridControlModel::cloneColumns: caught an exception while cloning the columns!" ); + OSL_FAIL( "OGridControlModel::cloneColumns: caught an exception while cloning the columns!" ); } } @@ -399,7 +399,7 @@ Reference<XPropertySet> OGridControlModel::createColumn(sal_Int32 nTypeId) cons case TYPE_TIMEFIELD: xReturn = new TimeFieldColumn( getContext() ); break; case TYPE_FORMATTEDFIELD: xReturn = new FormattedFieldColumn( getContext() ); break; default: - DBG_ERROR("OGridControlModel::createColumn: Unknown Column"); + OSL_FAIL("OGridControlModel::createColumn: Unknown Column"); break; } return xReturn; |