mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-21 02:22:41 +08:00
Fix bug #60609
This commit is contained in:
@ -634,8 +634,11 @@ namespace MetaFile
|
||||
for (unsigned int unIndex = 0; unIndex < unPositionCount; ++unIndex)
|
||||
m_oStream >> arBlendColors[unIndex];
|
||||
|
||||
if (0 != unPositionCount)
|
||||
if (1 < unPositionCount)
|
||||
{
|
||||
pEmfPlusBrush->ColorBack = arBlendColors[0];
|
||||
pEmfPlusBrush->Color = arBlendColors.back();
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user