Kaydet (Commit) 5dd62512 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:nullptr (clang-cl)

Change-Id: Ie60f2cc7c3b0bcba7ddf2e7a0f6837c821b33dcc
Reviewed-on: https://gerrit.libreoffice.org/48313Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst c664f790
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment