sal/osl/w32/pipe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit add32b9930d4311df1fa03c36c13dd1267a46e44 Author: Chris Sherlock <chris.sherloc...@gmail.com> Date: Mon Jul 10 04:28:25 2017 +1000 Followup: m_NamedObject never INVALID_HANDLE_VALUE, must be nullptr Change-Id: I6837937945749a0f44e4e50aae1267edb37921d7 diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx index 29289f360833..b399f5f75f95 100644 --- a/sal/osl/w32/pipe.cxx +++ b/sal/osl/w32/pipe.cxx @@ -67,7 +67,7 @@ oslPipe osl_createPipeImpl(void) pPipe->m_Reference = 0; pPipe->m_Name = nullptr; pPipe->m_File = INVALID_HANDLE_VALUE; - pPipe->m_NamedObject = INVALID_HANDLE_VALUE; + pPipe->m_NamedObject = nullptr; pPipe->m_ReadEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr); pPipe->m_WriteEvent = CreateEvent(nullptr, TRUE, FALSE, nullptr); @@ -193,7 +193,7 @@ oslPipe SAL_CALL osl_createPipe(rtl_uString *strPipeName, oslPipeOptions Options else { CloseHandle(pPipe->m_NamedObject); - pPipe->m_NamedObject = INVALID_HANDLE_VALUE; + pPipe->m_NamedObject = nullptr; } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits