mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 06:22:44 +08:00
Fix buid
This commit is contained in:
@ -1080,7 +1080,7 @@ HRESULT CPdfFile::put_FontName(const std::wstring& wsName)
|
||||
std::wstring numberStr = wsName.substr(lastSpace + 1);
|
||||
int nTargetCode = std::stoi(numberStr);
|
||||
const std::map<std::wstring, std::wstring>& mFonts = m_pInternal->pReader->GetFonts();
|
||||
auto it = std::find_if(mFonts.begin(), mFonts.end(), [nTargetCode](const auto& pair)
|
||||
auto it = std::find_if(mFonts.begin(), mFonts.end(), [nTargetCode](const std::pair<const std::wstring, std::wstring>& pair)
|
||||
{
|
||||
const std::wstring& key = pair.first;
|
||||
size_t pos = key.rfind(L' ');
|
||||
|
||||
Reference in New Issue
Block a user