Commit 02584b15 authored by Alexander.Trofimov's avatar Alexander.Trofimov

return without creating variable

parent c631f60d
...@@ -483,21 +483,16 @@ var editor; ...@@ -483,21 +483,16 @@ var editor;
return AscCommon.g_clipboardBase.Button_Cut(); return AscCommon.g_clipboardBase.Button_Cut();
}; };
spreadsheet_api.prototype.asc_PasteData = function(_format, data1, data2) spreadsheet_api.prototype.asc_PasteData = function (_format, data1, data2) {
{
this.wb.pasteData(_format, data1, data2); this.wb.pasteData(_format, data1, data2);
}; };
spreadsheet_api.prototype.asc_CheckCopy = function(_clipboard /* CClipboardData */, _formats) spreadsheet_api.prototype.asc_CheckCopy = function (_clipboard /* CClipboardData */, _formats) {
{ return this.wb.checkCopyToClipboard(_clipboard, _formats);
var result = this.wb.checkCopyToClipboard(_clipboard, _formats);
return result;
}; };
spreadsheet_api.prototype.asc_SelectionCut = function() spreadsheet_api.prototype.asc_SelectionCut = function () {
{ return this.wb.selectionCut();
var result = this.wb.selectionCut();
return result;
}; };
spreadsheet_api.prototype.asc_bIsEmptyClipboard = function() { spreadsheet_api.prototype.asc_bIsEmptyClipboard = function() {
......
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