mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
fix bug #65259
This commit is contained in:
@ -198,6 +198,8 @@ void MemoryStream::WriteBytes(unsigned char* pData, int size)
|
||||
|
||||
unsigned long MemoryStream::GetPosition() const
|
||||
{
|
||||
if (m_Position > m_Size)
|
||||
return m_Size;
|
||||
return m_Position;
|
||||
}
|
||||
unsigned long MemoryStream::GetSize() const
|
||||
|
||||
Reference in New Issue
Block a user