Commit dd3250c8 authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused variable bIsDrawObjects

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68918 954022d7-b5bf-4e40-9824-e11837661b57
parent e9435058
......@@ -3652,8 +3652,8 @@
return;
}
if ( !this.isSelectionDialogMode ) {
this._drawCollaborativeElements( /*bIsDrawObjects*/true );
if (!this.isSelectionDialogMode) {
this._drawCollaborativeElements();
}
if ((this.isSelectionDialogMode || this.isFormulaEditMode) && !this.handlers.trigger('isActive')) {
if (this.isSelectionDialogMode) {
......@@ -4083,14 +4083,14 @@
};
WorksheetView.prototype._drawSelectRange = function ( oSelectRange ) {
var lineWidth = 1, isDashLine = true, strokeColor = c_oAscCoAuthoringOtherBorderColor;
this._drawElements( this, this._drawSelectionElement, oSelectRange, isDashLine, lineWidth, strokeColor );
var lineWidth = 1, isDashLine = true;
this._drawElements( this, this._drawSelectionElement, oSelectRange, isDashLine, lineWidth, c_oAscCoAuthoringOtherBorderColor);
};
WorksheetView.prototype._drawCollaborativeElements = function ( bIsDrawObjects ) {
WorksheetView.prototype._drawCollaborativeElements = function () {
if ( this.collaborativeEditing.getCollaborativeEditing() ) {
this._drawCollaborativeElementsMeOther( c_oAscLockTypes.kLockTypeMine, bIsDrawObjects );
this._drawCollaborativeElementsMeOther( c_oAscLockTypes.kLockTypeOther, bIsDrawObjects );
this._drawCollaborativeElementsMeOther(c_oAscLockTypes.kLockTypeMine);
this._drawCollaborativeElementsMeOther(c_oAscLockTypes.kLockTypeOther);
this._drawCollaborativeElementsAllLock();
}
};
......@@ -4104,7 +4104,7 @@
}
};
WorksheetView.prototype._drawCollaborativeElementsMeOther = function ( type, bIsDrawObjects ) {
WorksheetView.prototype._drawCollaborativeElementsMeOther = function (type) {
var currentSheetId = this.model.getId(), i, lineWidth = 1, isDashLine = true, strokeColor, arrayCells, oCellTmp;
if ( c_oAscLockTypes.kLockTypeMine === type ) {
strokeColor = c_oAscCoAuthoringMeBorderColor;
......
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