summaryrefslogtreecommitdiff
path: root/smoketest
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 /smoketest
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'smoketest')
-rw-r--r--smoketest/smoketest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx
index a097dd282a18..4db733bb0cd2 100644
--- a/smoketest/smoketest.cxx
+++ b/smoketest/smoketest.cxx
@@ -71,7 +71,7 @@ class Listener:
public cppu::WeakImplHelper< css::frame::XDispatchResultListener >
{
public:
- explicit Listener(Result * result): result_(result) { assert(result != nullptr); }
+ explicit Listener(Result * result): result_(result) { OSL_ASSERT(result != nullptr); }
private:
virtual void SAL_CALL disposing(css::lang::EventObject const &) override {}
@@ -100,7 +100,7 @@ public:
listener):
dispatch_(dispatch), url_(url), arguments_(arguments),
listener_(listener)
- { assert(dispatch.is()); }
+ { OSL_ASSERT(dispatch.is()); }
private:
virtual void SAL_CALL notify(css::uno::Any const &) override