Commit 4cdcd63c authored by Sergey Luzyanin's avatar Sergey Luzyanin

isSelectionUse

parent 25d75e31
...@@ -2035,18 +2035,9 @@ CGraphicObjects.prototype = ...@@ -2035,18 +2035,9 @@ CGraphicObjects.prototype =
} }
}, },
isSelectionUse: function() isSelectionUse: function()
{ {
var content = this.getTargetDocContent(); return this.selectedObjects.length > 0;
if(content)
{
return content.Is_TextSelectionUse();
}
else
{
return this.selectedObjects.length > 0;
}
}, },
paragraphFormatPaste: function( CopyTextPr, CopyParaPr, Bool ) paragraphFormatPaste: function( CopyTextPr, CopyParaPr, Bool )
......
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