Commit 8b815bb9 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50430 954022d7-b5bf-4e40-9824-e11837661b57
parent ace57c99
......@@ -3445,7 +3445,12 @@ PasteProcessor.prototype =
}
var arr_layouts = [];
var master = presentation.Slides[presentation.CurPage].Layout.Master;
var master;
if(presentation.Slides[presentation.CurPage])
master = presentation.Slides[presentation.CurPage].Layout.Master;
else
master = presentation.slideMasters[0];
if(editor.DocumentUrl !== p_url)
{
var layouts_count = stream.GetULong();
......
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