loleaflet/src/layer/tile/ImpressTileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e7c510a20291e8d39bd0562ff752225f400c8e97
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Fri Sep 23 17:07:41 2016 +0530

    loleaflet: Store view id as int
    
    Change-Id: I80a36311a66767d3caafb9bb94df6205309af02b

diff --git a/loleaflet/src/layer/tile/ImpressTileLayer.js 
b/loleaflet/src/layer/tile/ImpressTileLayer.js
index e931ef6..522ba09 100644
--- a/loleaflet/src/layer/tile/ImpressTileLayer.js
+++ b/loleaflet/src/layer/tile/ImpressTileLayer.js
@@ -129,7 +129,7 @@ L.ImpressTileLayer = L.TileLayer.extend({
                        this._updateMaxBounds(true);
                        this._documentInfo = textMsg;
                        this._parts = command.parts;
-                       this._viewId = command.viewid;
+                       this._viewId = parseInt(command.viewid);
                        this._selectedPart = command.selectedPart;
                        this._resetPreFetching(true);
                        this._update();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to