Commit f9103204 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

новая версия

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58213 954022d7-b5bf-4e40-9824-e11837661b57
parent 72c6f052
......@@ -47,6 +47,20 @@ class CFontsCache
private:
std::map<std::string, CFontFile*> m_mapFiles;
CApplicationFontStreams* m_pApplicationFontStreams;
public:
CFontsCache()
{
m_pApplicationFontStreams = NULL;
}
~CFontsCache()
{
for (std::map<std::string, CFontFile*>::iterator iter = m_mapFiles.begin(); iter != m_mapFiles.end(); ++iter)
{
CFontFile* pFile = iter->second;
RELEASEOBJECT(pFile);
}
}
public:
inline void SetStreams(CApplicationFontStreams* pStreams) { m_pApplicationFontStreams = pStreams; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment