Commit 3842b7e3 authored by GoshaZotov's avatar GoshaZotov

fix bug 32896

parent 2f45be08
...@@ -1805,7 +1805,9 @@ ...@@ -1805,7 +1805,9 @@
newCDocument.bFromDocument = true; newCDocument.bFromDocument = true;
newCDocument.theme = this.Api.wbModel.theme; newCDocument.theme = this.Api.wbModel.theme;
var old_m_oLogicDocument = oTempDrawingDocument.m_oLogicDocument;
oTempDrawingDocument.m_oLogicDocument = newCDocument; oTempDrawingDocument.m_oLogicDocument = newCDocument;
var oOldEditor = undefined; var oOldEditor = undefined;
if ("undefined" != typeof editor) if ("undefined" != typeof editor)
oOldEditor = editor; oOldEditor = editor;
...@@ -1820,6 +1822,8 @@ ...@@ -1820,6 +1822,8 @@
var oRes = oBinaryFileReader.ReadFromString(sBase64); var oRes = oBinaryFileReader.ReadFromString(sBase64);
pptx_content_loader.End_UseFullUrl(); pptx_content_loader.End_UseFullUrl();
oTempDrawingDocument.m_oLogicDocument = old_m_oLogicDocument;
History.TurnOn(); History.TurnOn();
AscCommon.g_oIdCounter.m_bRead = false; AscCommon.g_oIdCounter.m_bRead = false;
editor = oOldEditor; editor = oOldEditor;
......
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