Commit 53af754c authored by Sergey Luzyanin's avatar Sergey Luzyanin

Convert the formula instead of calling the plugin

parent 571d2dd9
......@@ -1256,7 +1256,10 @@ CGraphicObjects.prototype =
handleOleObjectDoubleClick: function(drawing, oleObject, e, x, y, pageIndex)
{
if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props))
if(drawing && drawing.ParaMath){
drawing.Convert_ToMathObject();
}
else if(false === this.document.Document_Is_SelectionLocked(changestype_Drawing_Props))
{
var pluginData = new Asc.CPluginData();
pluginData.setAttribute("data", oleObject.m_sData);
......
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