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

Dennis Francis (via logerrit) logerrit at kemper.freedesktop.org
Sun Jul 5 08:06:48 UTC 2020


 loleaflet/src/layer/tile/CalcTileLayer.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit b7cc5d0044d220869db8ce47226468059b8320c7
Author:     Dennis Francis <dennis.francis at collabora.com>
AuthorDate: Sat May 16 18:36:04 2020 +0530
Commit:     Dennis Francis <dennis.francis at collabora.com>
CommitDate: Sun Jul 5 10:06:29 2020 +0200

    Initialize outlines ds on empty outline
    
    Change-Id: If845991272a05f026fad7819d39ff4b23622abae
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/97953
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Dennis Francis <dennis.francis at collabora.com>

diff --git a/loleaflet/src/layer/tile/CalcTileLayer.js b/loleaflet/src/layer/tile/CalcTileLayer.js
index 1d206711e..ff75e6b99 100644
--- a/loleaflet/src/layer/tile/CalcTileLayer.js
+++ b/loleaflet/src/layer/tile/CalcTileLayer.js
@@ -1469,6 +1469,7 @@ L.DimensionOutlines = L.Class.extend({
 		var levels = encoding.split(' ');
 		if (levels.length < 2) {
 			// No outline.
+			this._outlines = [];
 			return true;
 		}
 


More information about the Libreoffice-commits mailing list