diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-12 11:28:41 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-13 16:44:11 +0100 |
commit | fd3ae880bc267446dc27adf678801ae99a885fe3 (patch) | |
tree | ec4367afb2fdf43ec6332d0aa4cf1dcec0d30a9b /sc/source/filter/xml/xmlstyli.cxx | |
parent | Add missing osl/diagnose.h (diff) | |
download | core-fd3ae880bc267446dc27adf678801ae99a885fe3.tar.gz core-fd3ae880bc267446dc27adf678801ae99a885fe3.zip |
Move OSL_ENSURE(false,...) to OSL_FAIL(...)
Diffstat (limited to 'sc/source/filter/xml/xmlstyli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlstyli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx index 796e63f9688d..37c8b0d00c8a 100644 --- a/sc/source/filter/xml/xmlstyli.cxx +++ b/sc/source/filter/xml/xmlstyli.cxx @@ -394,7 +394,7 @@ void XMLTableStyleContext::SetFormula( uno::Sequence< beans::PropertyValue >& rP lclAppendProperty( rProps, OUString( RTL_CONSTASCII_USTRINGPARAM( SC_UNONAME_GRAMMAR2 ) ), nGrammar ); break; default: - OSL_ENSURE( false, "XMLTableStyleContext::SetFormula - invalid formula index" ); + OSL_FAIL( "XMLTableStyleContext::SetFormula - invalid formula index" ); } } |