summaryrefslogtreecommitdiff
path: root/sax/test/sax/testsax.cxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
commit97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch)
tree7974a8b9423c56982646366b0859dfb2a1a88d50 /sax/test/sax/testsax.cxx
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'sax/test/sax/testsax.cxx')
-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 904ad48fadcc..6b382befdab0 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");
- assert( xOutStreamService.is() );
+ OSL_ASSERT( xOutStreamService.is() );
Reference< XOutputStream > rOutStream( xOutStreamService , UNO_QUERY );
- assert( rOutStream.is() );
+ OSL_ASSERT( rOutStream.is() );
Reference< XInputStream > rInStream( xOutStreamService , UNO_QUERY );
- assert( rInStream.is() );
+ OSL_ASSERT( rInStream.is() );
rOutStream->writeBytes( seqBytes );
rOutStream->flush();
@@ -314,7 +314,7 @@ public:
virtual void SAL_CALL endElement(const OUString& aName) throw (SAXException,RuntimeException)
{
- assert( m_iLevel );
+ OSL_ASSERT( m_iLevel );
m_iLevel --;
if( m_bPrint ) {
int i;