loolwsd/TileDesc.hpp |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

New commits:
commit 454b2b71c18ace94f16dcf1f203c4d20cf9f1dce
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Mon Sep 19 20:30:35 2016 -0400

    loolwsd: don't generate imgsize in tile when 0
    
    Change-Id: I469bdbfbb5efd8230808e6c68f58f505acef3993
    Reviewed-on: https://gerrit.libreoffice.org/29069
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/loolwsd/TileDesc.hpp b/loolwsd/TileDesc.hpp
index e4d2c36..0258645 100644
--- a/loolwsd/TileDesc.hpp
+++ b/loolwsd/TileDesc.hpp
@@ -81,8 +81,13 @@ public:
             << " tileposy=" << _tilePosY
             << " tilewidth=" << _tileWidth
             << " tileheight=" << _tileHeight
-            << " ver=" << _ver
-            << " imgsize=" << _imgSize;
+            << " ver=" << _ver;
+
+        if (_imgSize > 0)
+        {
+            oss << " imgsize=" << _imgSize;
+        }
+
         if (_id >= 0)
         {
             oss << " id=" << _id;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to