[Libreoffice-commits] online.git: loolwsd/TileCache.cpp

Jan Holesovsky kendy at collabora.com
Thu Jun 25 08:36:11 PDT 2015


 loolwsd/TileCache.cpp |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit fbcbc462d61b1c0b497704e2a1cc9664027ed221
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Thu Jun 25 17:35:33 2015 +0200

    One more place where we need to adapt to the new payload format.

diff --git a/loolwsd/TileCache.cpp b/loolwsd/TileCache.cpp
index e45b227..36ea9e1 100644
--- a/loolwsd/TileCache.cpp
+++ b/loolwsd/TileCache.cpp
@@ -240,10 +240,10 @@ void TileCache::invalidateTiles(int part, const std::string& tiles)
     }
     else
     {
-        int width(std::stoi(tokens[1]));
-        int height(std::stoi(tokens[2]));
-        int x(std::stoi(tokens[3]));
-        int y(std::stoi(tokens[4]));
+        int x(std::stoi(tokens[1]));
+        int y(std::stoi(tokens[2]));
+        int width(std::stoi(tokens[3]));
+        int height(std::stoi(tokens[4]));
 
         invalidateTiles(part, x, y, width, height);
     }


More information about the Libreoffice-commits mailing list