[Libreoffice-commits] online.git: loleaflet/src

Pranav Kant pranavk at collabora.co.uk
Mon Dec 12 09:29:01 UTC 2016


 loleaflet/src/layer/tile/TileLayer.js |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 94153379f5d442466fa2594bf222bf37b3cae9f2
Author: Pranav Kant <pranavk at collabora.co.uk>
Date:   Mon Dec 12 14:58:21 2016 +0530

    loleaflet: Unused variable
    
    Change-Id: Ic08a04cd196084ce82524ded67445f5b1068b83d

diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 07b4b09..b4af6da 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1273,8 +1273,6 @@ L.TileLayer = L.GridLayer.extend({
 
 	// Update cursor layer (blinking cursor).
 	_onUpdateCursor: function (e) {
-		var pixBounds = L.bounds(this._map.latLngToLayerPoint(this._visibleCursor.getSouthWest()),
-						 this._map.latLngToLayerPoint(this._visibleCursor.getNorthEast()));
 		var cursorPos = this._visibleCursor.getNorthWest();
 
 		if (!e && !this._map.getBounds().contains(this._visibleCursor) && this._isCursorVisible) {


More information about the Libreoffice-commits mailing list