From 97eb00c75e173d4c8d0b483a7941ad3d2f23783e Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Sun, 7 May 2017 17:03:35 +1000 Subject: revert OSL_ASSERT changes Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380 --- smoketest/smoketest.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smoketest') 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 -- cgit