mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
standardize comments in English
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user