diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-26 16:59:00 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-26 16:59:38 +0100 |
commit | 2de4a10ced30c87a7e68de6d9a0c45ec8f6a215e (patch) | |
tree | ff78edbc43e35599c403ffcbd43d0022b57e447f /oox/source/docprop/docprophandler.cxx | |
parent | 93652f968cfc8f72c7b2ef5a46fc2758bc9e93c9 (diff) |
OSL_ASSERT takes a condition, not a message
Diffstat (limited to 'oox/source/docprop/docprophandler.cxx')
-rw-r--r-- | oox/source/docprop/docprophandler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx index 9bf4459f5821..3d2be51ef625 100644 --- a/oox/source/docprop/docprophandler.cxx +++ b/oox/source/docprop/docprophandler.cxx @@ -344,7 +344,7 @@ void SAL_CALL OOXMLDocPropHandler::startUnknownElement( const ::rtl::OUString& a aUnknown += aNamespace; aUnknown += ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ":" ) ); aUnknown += aName; - OSL_ASSERT( ::rtl::OUStringToOString( aUnknown, RTL_TEXTENCODING_UTF8 ).getStr() ); + OSL_FAIL( ::rtl::OUStringToOString( aUnknown, RTL_TEXTENCODING_UTF8 ).getStr() ); if ( m_nInBlock == SAL_MAX_INT32 ) throw uno::RuntimeException(); |