summaryrefslogtreecommitdiff
path: root/cppuhelper/source/weak.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 /cppuhelper/source/weak.cxx
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'cppuhelper/source/weak.cxx')
-rw-r--r--cppuhelper/source/weak.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx
index 981867ec5162..b52634b26ecc 100644
--- a/cppuhelper/source/weak.cxx
+++ b/cppuhelper/source/weak.cxx
@@ -383,7 +383,7 @@ OWeakRefListener::OWeakRefListener(const Reference< XInterface >& xInt)
}
}
}
- catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
osl_atomic_decrement( &m_aRefCount );
}
@@ -397,7 +397,7 @@ OWeakRefListener::~OWeakRefListener()
m_XWeakConnectionPoint->removeReference(static_cast<XReference*>(this));
}
}
- catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
}
// XInterface
@@ -471,7 +471,7 @@ void WeakReferenceHelper::clear()
m_pImpl = nullptr;
}
}
- catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
}
WeakReferenceHelper& WeakReferenceHelper::operator=(const WeakReferenceHelper& rWeakRef)
@@ -504,7 +504,7 @@ WeakReferenceHelper::operator= (const Reference< XInterface > & xInt)
m_pImpl->acquire();
}
}
- catch (RuntimeException &) { assert( false ); } // assert here, but no unexpected()
+ catch (RuntimeException &) { OSL_ASSERT( false ); } // assert here, but no unexpected()
return *this;
}
@@ -530,7 +530,7 @@ Reference< XInterface > WeakReferenceHelper::get() const
}
catch (RuntimeException &)
{
- assert( false );
+ OSL_ASSERT( false );
} // assert here, but no unexpected()
return Reference< XInterface >();