summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
Diffstat (limited to 'unotest')
-rw-r--r--unotest/source/cpp/bootstrapfixturebase.cxx4
1 files changed, 1 insertions, 3 deletions
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 <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 += "/";
}