summaryrefslogtreecommitdiff
path: root/sal/osl/unx/process_impl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/unx/process_impl.cxx')
-rw-r--r--sal/osl/unx/process_impl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index f5d81dbb9cbf..d29ffb893939 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -57,10 +57,10 @@ oslProcessError SAL_CALL bootstrap_getExecutableFile(rtl_uString ** ppFileURL)
{
/* Determine absolute path. */
char abspath[PATH_MAX];
- if (realpath (buffer, abspath) != 0)
+ if (realpath (buffer, abspath) != nullptr)
{
/* Convert from utf8 to unicode. */
- rtl_uString * pAbsPath = 0;
+ rtl_uString * pAbsPath = nullptr;
rtl_string2UString (
&(pAbsPath),
abspath, rtl_str_getLength (abspath),