diff options
Diffstat (limited to 'sal/osl/all/log.cxx')
-rw-r--r-- | sal/osl/all/log.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index e25136f2002d..1eae31ab7c3f 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -106,7 +106,7 @@ char const * getEnvironmentVariable(const char* env) { bool getValueFromLoggingIniFile(const char* key, char* value) { char buffer[MAX_PATH]; - GetModuleFileName(NULL, buffer, MAX_PATH); + GetModuleFileName(nullptr, buffer, MAX_PATH); std::string sProgramDirectory = std::string(buffer); std::string::size_type pos = sProgramDirectory.find_last_of( "\\/" ); sProgramDirectory = sProgramDirectory.substr(0, pos+1); |