sal/osl/all/log.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 5dd62512f520bbccfa864c6454c2c7c4b1462504 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Jan 22 13:02:42 2018 +0100 loplugin:nullptr (clang-cl) Change-Id: Ie60f2cc7c3b0bcba7ddf2e7a0f6837c821b33dcc Reviewed-on: https://gerrit.libreoffice.org/48313 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits