From a2ef49dd9c61997fa1bc134cf420d9e31128ae12 Mon Sep 17 00:00:00 2001 From: euzuro Date: Tue, 16 May 2006 18:25:40 +0000 Subject: [PATCH] addSize() is never used. Keep it Simple git-svn-id: http://svn.openlayers.org/trunk/openlayers@50 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 449a730d52..b9a7416a7c 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -80,18 +80,6 @@ OpenLayers.Pixel.prototype = { }, - /** Return a new Pixel with this pixel's x&y augmented by - * the Size value passed in. - * - * @param {OpenLayers.Size} sz - * - * @return {OpenLayers.Pixel} - */ - addSize:function(sz) { - return new OpenLayers.Pixel(this.x+sz.w, this.y+sz.h); - }, - - /** Return a new Pixel with this pixel's x&y augmented by * the Size value passed in. *