[Libreoffice-commits] .: reportdesign/source

David Tardon dtardon at kemper.freedesktop.org
Sat Feb 26 07:22:49 PST 2011


 reportdesign/source/filter/xml/xmlfilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c10b3f263f906d51c5c669d975af71f4b0320a57
Author: David Tardon <dtardon at redhat.com>
Date:   Sat Feb 26 15:16:05 2011 +0100

    OSL_ASSERT takes a condition, not a message

diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx
index 77a343e..743847b 100644
--- a/reportdesign/source/filter/xml/xmlfilter.cxx
+++ b/reportdesign/source/filter/xml/xmlfilter.cxx
@@ -196,7 +196,7 @@ r
         aError += ',';
         aError += ByteString::CreateFromInt32( r.ColumnNumber );
 
-        OSL_ASSERT( aError.GetBuffer() );
+        OSL_FAIL( aError.GetBuffer() );
 #endif
         return 1;
     }


More information about the Libreoffice-commits mailing list