Kaydet (Commit) 22e59ea9 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1169839 Unintentional integer overflow

Change-Id: I21d7962043e26e8a7973dd2f9305dd6a48f3db4a
üst 6e4fcc7d
...@@ -2422,7 +2422,7 @@ void AutoRecovery::implts_updateTimer() ...@@ -2422,7 +2422,7 @@ void AutoRecovery::implts_updateTimer()
) )
return; return;
sal_uLong nMilliSeconds = 0; sal_Int32 nMilliSeconds = 0;
if (m_eTimerType == AutoRecovery::E_NORMAL_AUTOSAVE_INTERVALL) if (m_eTimerType == AutoRecovery::E_NORMAL_AUTOSAVE_INTERVALL)
{ {
nMilliSeconds = (m_nAutoSaveTimeIntervall*60000); // [min] => 60.000 ms nMilliSeconds = (m_nAutoSaveTimeIntervall*60000); // [min] => 60.000 ms
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment