OSL_ASSERT takes a condition, not a message
This commit is contained in:
parent
93652f968c
commit
2de4a10ced
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue