diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2017-05-27 00:27:32 +1000 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-27 08:47:57 +0200 |
commit | 3a6eb7d7e5aaa455d892d63f95cced03d3e32a95 (patch) | |
tree | 7b47db48a4e1e99aeafe30fd193580d017ed9197 | |
parent | 90347af0b41fa76a2a79a2b4c9258333b3bf9a25 (diff) |
tdf#43157 - registry: convert from OSL_ASSERT to assert
Change-Id: I527920d3e970e5028ebc0a84d0b460cdee0f140b
Reviewed-on: https://gerrit.libreoffice.org/38077
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-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); } } } |