Commit a6338271 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

убрал неиспользуемый код

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@61819 954022d7-b5bf-4e40-9824-e11837661b57
parent 73567c1f
...@@ -703,24 +703,7 @@ CopyProcessor.prototype = ...@@ -703,24 +703,7 @@ CopyProcessor.prototype =
}, },
CopyRunContent: function (Container, bUseSelection, bOmitHyperlink) { CopyRunContent: function (Container, bUseSelection, bOmitHyperlink) {
var sRes = ""; var sRes = "";
var ParaStart = 0;
var ParaEnd = Container.Content.length - 1;
if (true == bUseSelection) {
ParaStart = Container.Selection.StartPos;
ParaEnd = Container.Selection.EndPos;
if (ParaStart > ParaEnd) {
var Temp2 = ParaEnd;
ParaEnd = ParaStart;
ParaStart = Temp2;
}
};
//TODO Стоит пересмотреть флаг bUseSelection и учитывать внутри Selection флаг use.
if(ParaEnd < 0)
ParaEnd = 0;
if(ParaStart < 0)
ParaStart = 0;
for (var i = 0; i < Container.Content.length; i++) { for (var i = 0; i < Container.Content.length; i++) {
var item = Container.Content[i]; var item = Container.Content[i];
if (para_Run == item.Type) { if (para_Run == item.Type) {
......
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