summaryrefslogtreecommitdiff
path: root/framework/source/helper/statusindicator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/helper/statusindicator.cxx')
-rw-r--r--framework/source/helper/statusindicator.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/framework/source/helper/statusindicator.cxx b/framework/source/helper/statusindicator.cxx
index 1b76a1e2f2b3..88c247e9a312 100644
--- a/framework/source/helper/statusindicator.cxx
+++ b/framework/source/helper/statusindicator.cxx
@@ -38,7 +38,6 @@ void SAL_CALL StatusIndicator::start(const OUString& sText ,
if (comphelper::LibreOfficeKit::isActive())
{
m_nRange = nRange;
- m_nLastCallbackPercent = -1;
comphelper::LibreOfficeKit::statusIndicatorStart();
return;
@@ -103,11 +102,7 @@ void SAL_CALL StatusIndicator::setValue(sal_Int32 nValue)
if (comphelper::LibreOfficeKit::isActive())
{
int nPercent = (100*nValue)/m_nRange;
- if (nPercent > m_nLastCallbackPercent)
- {
- comphelper::LibreOfficeKit::statusIndicatorSetValue(nPercent);
- m_nLastCallbackPercent = nPercent;
- }
+ comphelper::LibreOfficeKit::statusIndicatorSetValue(nPercent);
return;
}