[Libreoffice-commits] core.git: sal/osl

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Apr 27 08:48:53 UTC 2021


 sal/osl/w32/file_dirvol.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d507c8b3e2939f66a395f163b5f21c29ffe59d02
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Apr 27 08:39:18 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Apr 27 10:48:12 2021 +0200

    loplugin:nullptr (clang-cl)
    
    Change-Id: I3c0ee11c42a2a4a22adf894341b04a229d579226
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114689
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/sal/osl/w32/file_dirvol.cxx b/sal/osl/w32/file_dirvol.cxx
index d150b36277f4..d0d5616678fb 100644
--- a/sal/osl/w32/file_dirvol.cxx
+++ b/sal/osl/w32/file_dirvol.cxx
@@ -247,7 +247,7 @@ struct Directory_Impl
 {
     UINT uType = 0;
     union {
-        HANDLE  hDirectory = 0;
+        HANDLE  hDirectory = nullptr;
         HANDLE  hEnumDrives;
     };
     OUString    m_sDirectoryPath;


More information about the Libreoffice-commits mailing list