diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-11 16:51:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-09-12 07:53:04 +0200 |
commit | e87143222934ee730806be9f8f7d083133566ad7 (patch) | |
tree | c7bca1c5feeffc0ce7f95cce2234dadee642a302 /fpicker/source/win32 | |
parent | d5a2202f955657e427670a87c2d4e5638884517b (diff) |
loplugin:nullptr (clang-cl)
Change-Id: Ie9c95a26200223aa392100125690359e72abd1a9
Reviewed-on: https://gerrit.libreoffice.org/60326
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/VistaFilePickerImpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx index 533c8b0242b7..d4a9915a5dd5 100644 --- a/fpicker/source/win32/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/VistaFilePickerImpl.cxx @@ -125,7 +125,7 @@ OUString lcl_getURLFromShellItem (IShellItem* pItem) hr = IIDFromString(aStr.c_str(), &known_folder_id); if (SUCCEEDED(hr)) { - hr = SHGetKnownFolderPath(known_folder_id, 0, NULL, &pStr); + hr = SHGetKnownFolderPath(known_folder_id, 0, nullptr, &pStr); if (SUCCEEDED(hr)) { ::osl::FileBase::getFileURLFromSystemPath(o3tl::toU(pStr), sURL); @@ -135,7 +135,7 @@ OUString lcl_getURLFromShellItem (IShellItem* pItem) } // Default fallback - hr = SHGetKnownFolderPath(FOLDERID_Documents, 0, NULL, &pStr); + hr = SHGetKnownFolderPath(FOLDERID_Documents, 0, nullptr, &pStr); if (SUCCEEDED(hr)) ::osl::FileBase::getFileURLFromSystemPath(o3tl::toU(pStr), sURL); else // shouldn't happen... |