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

New commits:
commit 85c1a0d8686774adefd304536374b1b6a14402ba
Author: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
Date:   Fri Oct 21 22:00:10 2016 -0400

    loolwsd: no warning for a fairly common case
    
    Change-Id: Ic461de074295eda4f15b6b7a8f787fc2624908ce
    Reviewed-on: https://gerrit.libreoffice.org/30193
    Reviewed-by: Ashod Nakashian <ashnak...@gmail.com>
    Tested-by: Ashod Nakashian <ashnak...@gmail.com>

diff --git a/loolwsd/ChildSession.cpp b/loolwsd/ChildSession.cpp
index 15fe4c5..7ce377b 100644
--- a/loolwsd/ChildSession.cpp
+++ b/loolwsd/ChildSession.cpp
@@ -1003,8 +1003,8 @@ void ChildSession::loKitCallback(const int nType, const 
std::string& rPayload)
                 }
                 catch (const std::out_of_range&)
                 {
-                    // something went wrong, invalidate everything
-                    Log::warn("Ignoring integer values out of range: " + 
rPayload);
+                    // We might get INT_MAX +/- some delta that
+                    // can overflow signed int and we end up here.
                     x = 0;
                     y = 0;
                     width = INT_MAX;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to