framework/source/helper/statusindicator.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ffa4b788191aa55d3ab57b499e89bb6cb56dbe6a
Author: Henry Castro <hcas...@collabora.com>
Date:   Sat Apr 23 18:32:10 2016 -0400

    lokit: ensure progress value sequential
    
    When it is saving a impress file, the status indicator sometimes receives
    lower values, that it is reflected to client side a flash to the progress 
bar.
    
    Change-Id: Ib3e8499357984843650c8d897c7b1d6baeb65ff6
    Reviewed-on: https://gerrit.libreoffice.org/24326
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: jan iversen <j...@documentfoundation.org>

diff --git a/framework/source/helper/statusindicator.cxx 
b/framework/source/helper/statusindicator.cxx
index ce8310a..fc0ecb7 100644
--- a/framework/source/helper/statusindicator.cxx
+++ b/framework/source/helper/statusindicator.cxx
@@ -103,7 +103,7 @@ void SAL_CALL StatusIndicator::setValue(sal_Int32 nValue)
     if (comphelper::LibreOfficeKit::isActive())
     {
         int nPercent = (100*nValue)/m_nRange;
-        if (nPercent != m_nLastCallbackPercent)
+        if (nPercent >= m_nLastCallbackPercent)
         {
             comphelper::LibreOfficeKit::statusIndicatorSetValue(nPercent);
             m_nLastCallbackPercent = nPercent;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to