Commit 9d4de59b authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33590

parent a4df5ad8
...@@ -518,7 +518,7 @@ SlideLayout.prototype = ...@@ -518,7 +518,7 @@ SlideLayout.prototype =
var _shape_count = _shapes.length; var _shape_count = _shapes.length;
for(_shape_index = 0; _shape_index < _shape_count; ++_shape_index) for(_shape_index = 0; _shape_index < _shape_count; ++_shape_index)
{ {
if(_shapes[_shape_index].isPlaceholder()) if(_shapes[_shape_index].isPlaceholder && _shapes[_shape_index].isPlaceholder())
_shapes[_shape_index].recalculate(); _shapes[_shape_index].recalculate();
} }
}, },
...@@ -891,12 +891,7 @@ function CLayoutThumbnailDrawer() ...@@ -891,12 +891,7 @@ function CLayoutThumbnailDrawer()
for (var i = 0; i < _layout.cSld.spTree.length; i++) for (var i = 0; i < _layout.cSld.spTree.length; i++)
{ {
var _sp_elem = _layout.cSld.spTree[i]; var _sp_elem = _layout.cSld.spTree[i];
/*if (!_sp_elem.isPlaceholder()) if(_sp_elem.isPlaceholder && _sp_elem.isPlaceholder())
{
if (use_layout_shapes !== false)
_sp_elem.draw(g);
}
else*/
{ {
var _ph_type = _sp_elem.getPlaceholderType(); var _ph_type = _sp_elem.getPlaceholderType();
var _usePH = true; var _usePH = true;
......
...@@ -352,7 +352,7 @@ MasterSlide.prototype = ...@@ -352,7 +352,7 @@ MasterSlide.prototype =
{ {
for(var i=0; i < this.cSld.spTree.length; ++i) for(var i=0; i < this.cSld.spTree.length; ++i)
{ {
if(!this.cSld.spTree[i].isPlaceholder()) if(this.cSld.spTree[i].isPlaceholder && !this.cSld.spTree[i].isPlaceholder())
this.cSld.spTree[i].draw(graphics); this.cSld.spTree[i].draw(graphics);
} }
}, },
......
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