Commit ed28815c authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

правка для бага № 24175

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56125 954022d7-b5bf-4e40-9824-e11837661b57
parent 591df54f
......@@ -3070,8 +3070,6 @@ PasteProcessor.prototype =
if(aContent)
{
checkThemeFonts(aContent.fonts, this.oDocument.theme.themeElements.fontScheme)
var fPrepasteCallback = function(){
if(false == oThis.bNested)
{
......
......@@ -5573,7 +5573,8 @@ function BinaryFileReader(doc, openParams)
aContent[Index].Document_Get_AllFontNames(AllFonts);
var aPrepeareFonts = [];
checkThemeFonts(AllFonts, this.Document.theme.themeElements.fontScheme)
var oDocument = this.Document && this.Document.LogicDocument ? this.Document.LogicDocument : this.Document;
checkThemeFonts(AllFonts, oDocument.theme.themeElements.fontScheme)
for (var i in AllFonts)
aPrepeareFonts.push(new 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