summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-09 15:17:17 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-09 15:17:17 +0000
commit22e59ea977247b7090a04c872157aad5113314a9 (patch)
tree3a9ee1365fc95be04f124b0cd28d1cf7b53bd63a /framework
parent6e4fcc7d756422a5b0cec60a6e23a764e40155f9 (diff)
coverity#1169839 Unintentional integer overflow
Change-Id: I21d7962043e26e8a7973dd2f9305dd6a48f3db4a
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/autorecovery.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 7aa43e117f23..95362d7e2499 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -2422,7 +2422,7 @@ void AutoRecovery::implts_updateTimer()
)
return;
- sal_uLong nMilliSeconds = 0;
+ sal_Int32 nMilliSeconds = 0;
if (m_eTimerType == AutoRecovery::E_NORMAL_AUTOSAVE_INTERVALL)
{
nMilliSeconds = (m_nAutoSaveTimeIntervall*60000); // [min] => 60.000 ms