From 6c9fb88fc097ff42cb6a0e26dad84f535ea69edf Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 09:57:24 +1000 Subject: tdf#43157: convert sax module away from OSL_ASSERT to assert Change-Id: Ie9e5a123e69269a2ea193923d4d130a947f2388d --- sax/test/sax/testsax.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sax') diff --git a/sax/test/sax/testsax.cxx b/sax/test/sax/testsax.cxx index 6b382befdab0..904ad48fadcc 100644 --- a/sax/test/sax/testsax.cxx +++ b/sax/test/sax/testsax.cxx @@ -196,12 +196,12 @@ Reference < XInputStream > createStreamFromSequence( { Reference < XInterface > xOutStreamService = xSMgr->createInstance("com.sun.star.io.Pipe"); - OSL_ASSERT( xOutStreamService.is() ); + assert( xOutStreamService.is() ); Reference< XOutputStream > rOutStream( xOutStreamService , UNO_QUERY ); - OSL_ASSERT( rOutStream.is() ); + assert( rOutStream.is() ); Reference< XInputStream > rInStream( xOutStreamService , UNO_QUERY ); - OSL_ASSERT( rInStream.is() ); + assert( rInStream.is() ); rOutStream->writeBytes( seqBytes ); rOutStream->flush(); @@ -314,7 +314,7 @@ public: virtual void SAL_CALL endElement(const OUString& aName) throw (SAXException,RuntimeException) { - OSL_ASSERT( m_iLevel ); + assert( m_iLevel ); m_iLevel --; if( m_bPrint ) { int i; -- cgit