From 95f56095a903fac5d6c1271a2e6229f6de89384c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Sep 2013 15:07:17 +0200 Subject: Can use CppUnit assert functionality here Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d --- unotest/source/cpp/bootstrapfixturebase.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'unotest') diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index 74fb3ab189dc..fff21d4d85b7 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -9,8 +9,6 @@ #include "sal/config.h" -#include - #include #include #include @@ -29,7 +27,7 @@ namespace { OUString getFileURLFromSystemPath(OUString const & path) { OUString url; osl::FileBase::RC e = osl::FileBase::getFileURLFromSystemPath(path, url); - assert(e == osl::FileBase::E_None); + CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, e); if (!url.endsWith("/")) { url += "/"; } -- cgit