Commit 9e357407 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 24765 - Ошибка в консоли при изменении параметров отображения заголовков осей диаграммы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56630 954022d7-b5bf-4e40-9824-e11837661b57
parent 26c074ca
......@@ -1792,9 +1792,9 @@ DrawingObjectsController.prototype =
{
hor_axis.title.txPr.setBodyPr(new CBodyPr());
}
if( hor_axis.title.txPr.content)
if(!hor_axis.title.txPr.content)
{
hor_axis.title.txPr.setContent(new CDocumentContent(vert_axis.title.txPr, chart_space.getDrawingDocument(), 0, 0, 100, 500, false, false, true));
hor_axis.title.txPr.setContent(new CDocumentContent(hor_axis.title.txPr, chart_space.getDrawingDocument(), 0, 0, 100, 500, false, false, true));
}
hor_axis.title.txPr.bodyPr.reset();
if(hor_axis.title.overlay)
......@@ -1847,7 +1847,7 @@ DrawingObjectsController.prototype =
{
vert_axis.title.txPr.setBodyPr(new CBodyPr());
}
if( vert_axis.title.txPr.content)
if( !vert_axis.title.txPr.content)
{
vert_axis.title.txPr.setContent(new CDocumentContent(vert_axis.title.txPr, chart_space.getDrawingDocument(), 0, 0, 100, 500, false, false, true));
}
......
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