Commit b0bf8739 authored by GoshaZotov's avatar GoshaZotov

fix bug 32686 - [Copy&Paste] JS ошибка после копирования текста в заголовок диаграммы

parent c9b93e0b
...@@ -6034,9 +6034,9 @@ function BinaryFileReader(doc, openParams) ...@@ -6034,9 +6034,9 @@ function BinaryFileReader(doc, openParams)
if(m_oLogicDocument && m_oLogicDocument.slideMasters && m_oLogicDocument.slideMasters[0] && m_oLogicDocument.slideMasters[0].Theme && m_oLogicDocument.slideMasters[0].Theme.themeElements) if(m_oLogicDocument && m_oLogicDocument.slideMasters && m_oLogicDocument.slideMasters[0] && m_oLogicDocument.slideMasters[0].Theme && m_oLogicDocument.slideMasters[0].Theme.themeElements)
fontScheme = m_oLogicDocument.slideMasters[0].Theme.themeElements.fontScheme; fontScheme = m_oLogicDocument.slideMasters[0].Theme.themeElements.fontScheme;
else else
fontScheme = oDocument.theme.themeElements.fontScheme; fontScheme = m_oLogicDocument.theme.themeElements.fontScheme;
AscFormat.checkThemeFonts(AllFonts, fontScheme); AscFormat.checkThemeFonts(AllFonts, fontScheme);
for (var i in AllFonts) for (var i in AllFonts)
aPrepeareFonts.push(new AscFonts.CFont(i, 0, "", 0)); aPrepeareFonts.push(new AscFonts.CFont(i, 0, "", 0));
......
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