[Libreoffice-commits] .: oox/source
David Tardon
dtardon at kemper.freedesktop.org
Sat Feb 26 08:01:10 PST 2011
oox/source/docprop/docprophandler.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e4e42236bd34001d888e96f337253a8991ae9b92
Author: David Tardon <dtardon at redhat.com>
Date: Sat Feb 26 16:59:00 2011 +0100
OSL_ASSERT takes a condition, not a message
diff --git a/oox/source/docprop/docprophandler.cxx b/oox/source/docprop/docprophandler.cxx
index 626830c..11acc53 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();
More information about the Libreoffice-commits
mailing list