[Libreoffice-commits] core.git: dtrans/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Feb 4 07:02:15 UTC 2020


 dtrans/source/win32/dtobj/DOTransferable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 1e826a1e61347d9f8b40e169b63acb5a68786f59
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Feb 3 16:27:18 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Feb 4 08:01:39 2020 +0100

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

diff --git a/dtrans/source/win32/dtobj/DOTransferable.cxx b/dtrans/source/win32/dtobj/DOTransferable.cxx
index c331b1d95b90..f90406462c81 100644
--- a/dtrans/source/win32/dtobj/DOTransferable.cxx
+++ b/dtrans/source/win32/dtobj/DOTransferable.cxx
@@ -100,7 +100,7 @@ void clipDataToByteStream( CLIPFORMAT cf, STGMEDIUM stgmedium, CDOTransferable::
         aByteSequence.realloc(nMemSize);
         LARGE_INTEGER li;
         li.QuadPart = 0;
-        hr = pStream->Seek(li, STREAM_SEEK_SET, NULL);
+        hr = pStream->Seek(li, STREAM_SEEK_SET, nullptr);
         if (FAILED(hr))
         {
             SAL_WARN("dtrans", "clipDataToByteStream: Seek() failed");


More information about the Libreoffice-commits mailing list