unotest/source/cpp/bootstrapfixturebase.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 95f56095a903fac5d6c1271a2e6229f6de89384c Author: Stephan Bergmann <[email protected]> Date: Fri Sep 27 15:07:17 2013 +0200 Can use CppUnit assert functionality here Change-Id: Iecc42e79b72e99f9222ba2419226b0f655a5af7d diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx index 74fb3ab..fff21d4 100644 --- a/unotest/source/cpp/bootstrapfixturebase.cxx +++ b/unotest/source/cpp/bootstrapfixturebase.cxx @@ -9,8 +9,6 @@ #include "sal/config.h" -#include <cassert> - #include <unotest/bootstrapfixturebase.hxx> #include <osl/file.hxx> #include <rtl/strbuf.hxx> @@ -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 += "/"; } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
