Commit 3f338c11 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

fix Bug 24161 - Ошибка в консоли при отмене ввода текста в автофигуру и наведения курсора мыши

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56101 954022d7-b5bf-4e40-9824-e11837661b57
parent 7dd14e13
......@@ -2576,7 +2576,9 @@ CShape.prototype =
hitInTextRect: function (x, y) {
var tx_body = this.bWordShape ? this : this.txBody;
if (isRealObject(tx_body)) {
var content = this.getDocContent();
if (isRealObject(tx_body) && content) {
var t_x, t_y;
t_x = this.invertTransformText.TransformPointX(x, y);
t_y = this.invertTransformText.TransformPointY(x, y);
......
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