summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-11 16:51:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-12 07:53:04 +0200
commite87143222934ee730806be9f8f7d083133566ad7 (patch)
treec7bca1c5feeffc0ce7f95cce2234dadee642a302 /fpicker
parentd5a2202f955657e427670a87c2d4e5638884517b (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')
-rw-r--r--fpicker/source/win32/VistaFilePickerImpl.cxx4
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...