Kaydet (Commit) 871f1f72 authored tarafından Chris Sherlock's avatar Chris Sherlock

Followup to final followup 647382f5 of my followup

Change-Id: I0ee075cadb26eb0ceedec1dd047fc157f3929dad
üst 7a743b47
......@@ -200,8 +200,8 @@ FileHandle_Impl::Allocator::~Allocator()
void FileHandle_Impl::Allocator::allocate(sal_uInt8 **ppBuffer, size_t *pnSize)
{
assert(ppBuffer != nullptr);
assert(pnSize != nullptr);
assert(ppBuffer);
assert(pnSize);
*ppBuffer = static_cast< sal_uInt8* >(rtl_cache_alloc(m_cache));
*pnSize = m_bufsiz;
}
......
......@@ -181,8 +181,8 @@ FileHandle_Impl::Allocator::~Allocator()
void FileHandle_Impl::Allocator::allocate (sal_uInt8 **ppBuffer, SIZE_T * pnSize)
{
assert(ppBuffer != nullptr);
assert(pnSize != nullptr);
assert(ppBuffer);
assert(pnSize);
*ppBuffer = static_cast< sal_uInt8* >(rtl_cache_alloc(m_cache));
*pnSize = m_bufsiz;
}
......@@ -196,7 +196,7 @@ void FileHandle_Impl::Allocator::deallocate (sal_uInt8 * pBuffer)
FileHandle_Impl::Guard::Guard(LPCRITICAL_SECTION pMutex)
: m_mutex (pMutex)
{
assert(pMutex != nullptr);
assert(pMutex);
::EnterCriticalSection (m_mutex);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment