mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 05:24:10 +08:00
в догонку
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58872 954022d7-b5bf-4e40-9824-e11837661b57
This commit is contained in:
committed by
Alexander Trofimov
parent
0236be7d7e
commit
c78aed4b4b
@ -158,10 +158,10 @@ namespace NSFontCutter
|
||||
{
|
||||
#ifdef BUILD_CONFIG_FULL_VERSION
|
||||
ULONG nCount = 0;
|
||||
POSITION pos = m_mapFontsEmbeddded.GetStartPosition();
|
||||
while (pos != NULL)
|
||||
|
||||
for(std::map<CString, CEmbeddedFontInfo>::iterator pPair = m_mapFontsEmbeddded.begin(); pPair != m_mapFontsEmbeddded.end(); ++pPair)
|
||||
{
|
||||
CEmbeddedFontInfo& oInfo = m_mapFontsEmbeddded.GetNextValue(pos);
|
||||
CEmbeddedFontInfo& oInfo = pPair->second;
|
||||
|
||||
if (_T("") != oInfo.PathRegular)
|
||||
++nCount;
|
||||
@ -193,10 +193,9 @@ namespace NSFontCutter
|
||||
Fonts::IFontConverter* pFontConverter = NULL;
|
||||
CoCreateInstance(__uuidof(Fonts::CFontConverter), NULL, CLSCTX_ALL, __uuidof(Fonts::IFontConverter), (void**)&pFontConverter);
|
||||
|
||||
pos = m_mapFontsEmbeddded.GetStartPosition();
|
||||
while (pos != NULL)
|
||||
for(std::map<CString, CEmbeddedFontInfo>::iterator pPair = m_mapFontsEmbeddded.begin(); pPair != m_mapFontsEmbeddded.end(); ++pPair)
|
||||
{
|
||||
CEmbeddedFontInfo& oInfo = m_mapFontsEmbeddded.GetNextValue(pos);
|
||||
CEmbeddedFontInfo& oInfo = pPair->second;
|
||||
|
||||
if (_T("") != oInfo.PathRegular)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user