summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-07-10 04:28:25 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-07-10 04:28:25 +1000
commitadd32b9930d4311df1fa03c36c13dd1267a46e44 (patch)
treed61d756101b9e07dc9dd8cf5f30d66f63f188d66 /sal
parent126da7c7774b49b044960d600e6b7f7d0d254c2d (diff)
Followup: m_NamedObject never INVALID_HANDLE_VALUE, must be nullptr
Change-Id: I6837937945749a0f44e4e50aae1267edb37921d7
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/pipe.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}
}
}