standardize comments in English

This commit is contained in:
Alexander Trofimov
2026-04-02 08:10:57 +03:00
parent b18715ae81
commit 10b2b0d3d0
950 changed files with 7092 additions and 7093 deletions

View File

@ -294,7 +294,7 @@ void CTextPFRunRecord::LoadFromStream(POLE::Stream* pStream, bool bIsIndentation
BYTE flag3 = (BYTE)(dwFlags >> 16);
BYTE flag4 = (BYTE)(dwFlags >> 24);
//флаги чтения
//read flags
bool hasBullet_ = (0x01 == (0x01 & flag1));
bool bulletHasFont_ = (0x02 == (0x02 & flag1));
bool bulletHasColor_ = (0x04 == (0x04 & flag1));
@ -563,7 +563,7 @@ void CTextCFRunRecord::LoadFromStream(POLE::Stream* pStream, bool bIsIndentation
if (BaseLineOffset_)
m_oRun.BaseLineOffset = (double)StreamUtils::ReadSHORT(pStream);
// или два последних наоборот????
// or the last two vice versa????
}
@ -714,7 +714,7 @@ void CMetaHeader::ToEMFHeader(Gdiplus::ENHMETAHEADER3* pHeader)
pHeader->rclBounds.right = rcBounds.right;
pHeader->rclBounds.bottom = rcBounds.bottom;
// нужно перевести в мм
// need to convert to mm
pHeader->rclFrame.left = rcBounds.left;
pHeader->rclFrame.top = rcBounds.top;
pHeader->rclFrame.right = rcBounds.right;
@ -737,7 +737,7 @@ void CMetaHeader::ToEMFHeader(Gdiplus::ENHMETAHEADER3* pHeader)
pHeader->szlDevice.cx = 200;
pHeader->szlDevice.cy = 200;
// нужно перевести в мм
// need to convert to mm
pHeader->szlMillimeters.cx = 100;
pHeader->szlMillimeters.cy = 100;
}