summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-22 13:02:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-22 22:22:53 +0100
commit5dd62512f520bbccfa864c6454c2c7c4b1462504 (patch)
treee5ac43ad0203c728d7f2344fc0775dce43144b4d /sal
parentc664f790e697278382d739cb2c81039abde4253e (diff)
loplugin:nullptr (clang-cl)
Change-Id: Ie60f2cc7c3b0bcba7ddf2e7a0f6837c821b33dcc Reviewed-on: https://gerrit.libreoffice.org/48313 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/all/log.cxx2
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);