summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:57:24 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 09:57:24 +1000
commit6c9fb88fc097ff42cb6a0e26dad84f535ea69edf (patch)
tree0af03d2f78659f8a3e18aa6b035fe2dc7f05e2cd /sax
parentddce1e22fbdd3256c304541ac0470bb2c2a82ed1 (diff)
tdf#43157: convert sax module away from OSL_ASSERT to assert
Change-Id: Ie9e5a123e69269a2ea193923d4d130a947f2388d
Diffstat (limited to 'sax')
-rw-r--r--sax/test/sax/testsax.cxx8
1 files changed, 4 insertions, 4 deletions
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;