diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 06:01:12 +1000 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-07 07:29:43 +1000 |
commit | 8a4dd50a2fbe8c31ce642fd33d54a0bded8f5734 (patch) | |
tree | 5aed857fe1bf6427a032bd7b5b8a3f652c19cfce | |
parent | 6d49392c4b23f04e70baf2b71bcc6485a966b52a (diff) |
tdf#43157 - registry: convert from OSL_ASSERT to assert
Change-Id: I10c3f9d26c3faf6bd2c47493dd83c3ee744dc711
-rw-r--r-- | registry/tools/fileurl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/registry/tools/fileurl.cxx b/registry/tools/fileurl.cxx index 94a2488c892e..5bf64a1f383b 100644 --- a/registry/tools/fileurl.cxx +++ b/registry/tools/fileurl.cxx @@ -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); } } } |