Kaydet (Commit) 3a6eb7d7 authored tarafından Chris Sherlock's avatar Chris Sherlock Kaydeden (comit) Noel Grandin

tdf#43157 - registry: convert from OSL_ASSERT to assert

Change-Id: I527920d3e970e5028ebc0a84d0b460cdee0f140b
Reviewed-on: https://gerrit.libreoffice.org/38077Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 90347af0
......@@ -58,11 +58,11 @@ OUString convertToFileUrl(char const * filename, sal_Int32 length)
OUString uWorkingDir;
if (osl_getProcessWorkingDir(&uWorkingDir.pData) != osl_Process_E_None)
{
OSL_ASSERT(false);
assert(false);
}
if (FileBase::getAbsoluteFileURL(uWorkingDir, uFileName, uFileUrl) != FileBase::E_None)
{
OSL_ASSERT(false);
assert(false);
}
}
else
......@@ -70,7 +70,7 @@ OUString convertToFileUrl(char const * filename, sal_Int32 length)
// absolute path name.
if (FileBase::getFileURLFromSystemPath(uFileName, uFileUrl) != FileBase::E_None)
{
OSL_ASSERT(false);
assert(false);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment