diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:43:16 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 14:12:37 +0100 |
commit | 7d669e4cdc6ddcb680ffb4f05b18a8925a76a6b0 (patch) | |
tree | 60c7573fef5c6868ef98cdea125d6e0ddc76dd57 /oox/source/xls/pivottablebuffer.cxx | |
parent | d4ebec5c7950c2558c8efe873288e078f5d8ad31 (diff) |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'oox/source/xls/pivottablebuffer.cxx')
-rw-r--r-- | oox/source/xls/pivottablebuffer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/oox/source/xls/pivottablebuffer.cxx b/oox/source/xls/pivottablebuffer.cxx index 2a6ce43a2484..d6391ee84757 100644 --- a/oox/source/xls/pivottablebuffer.cxx +++ b/oox/source/xls/pivottablebuffer.cxx @@ -694,7 +694,7 @@ void PivotTableField::convertDataField( const PTDataFieldModel& rDataField ) case XML_stdDevp: eAggFunc = GeneralFunction_STDEVP; break; case XML_var: eAggFunc = GeneralFunction_VAR; break; case XML_varp: eAggFunc = GeneralFunction_VARP; break; - default: OSL_ENSURE( false, "PivotTableField::convertDataField - unknown aggregation function" ); + default: OSL_FAIL( "PivotTableField::convertDataField - unknown aggregation function" ); } aPropSet.setProperty( PROP_Function, eAggFunc ); @@ -1423,7 +1423,7 @@ void PivotTable::finalizeImport() } catch( Exception& ) { - OSL_ENSURE( false, "PivotTable::finalizeImport - exception while creating the DataPilot table" ); + OSL_FAIL( "PivotTable::finalizeImport - exception while creating the DataPilot table" ); } } } |