summaryrefslogtreecommitdiff
path: root/framework/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-04-05 16:49:11 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-04-05 16:49:11 +0200
commit062d0b1e36217a88ea3a727a14df68bd81f6092e (patch)
treeb110a6e46d802a6e510f360b1f034c55dee0c78b /framework/source
parent5b32ba4217e88f3f6fab0baaa79988623e55ba0e (diff)
m_dbg_bMakeItFaster is always false
Change-Id: I7ee117fcc5538ab9bc92cd30fd0f61e52a5a93bd
Diffstat (limited to 'framework/source')
-rw-r--r--framework/source/services/autorecovery.cxx22
1 files changed, 0 insertions, 22 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 90ac85d429c3..427203a84e3f 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -433,16 +433,6 @@ private:
sal_Int32 m_nMinSpaceDocSave;
sal_Int32 m_nMinSpaceConfigSave;
- /** @short special debug option to make testing faster.
-
- @descr We don't interpret the timer unit as [min] ...
- we use [ms] instead of that. Further we don't
- wait 10 s for user idle ...
- */
- #if OSL_DEBUG_LEVEL > 0
- bool m_dbg_bMakeItFaster;
- #endif
-
// interface
public:
@@ -1265,10 +1255,6 @@ AutoRecovery::AutoRecovery(const css::uno::Reference< css::uno::XComponentContex
, m_nDocCacheLock (0 )
, m_nMinSpaceDocSave (MIN_DISCSPACE_DOCSAVE )
, m_nMinSpaceConfigSave (MIN_DISCSPACE_CONFIGSAVE )
-
- #if OSL_DEBUG_LEVEL > 0
- , m_dbg_bMakeItFaster (false )
- #endif
{
}
@@ -2291,18 +2277,10 @@ void AutoRecovery::implts_updateTimer()
if (m_eTimerType == AutoRecovery::E_NORMAL_AUTOSAVE_INTERVALL)
{
nMilliSeconds = (m_nAutoSaveTimeIntervall*60000); // [min] => 60.000 ms
- #if OSL_DEBUG_LEVEL > 0
- if (m_dbg_bMakeItFaster)
- nMilliSeconds = m_nAutoSaveTimeIntervall; // [ms]
- #endif
}
else if (m_eTimerType == AutoRecovery::E_POLL_FOR_USER_IDLE)
{
nMilliSeconds = MIN_TIME_FOR_USER_IDLE;
- #if OSL_DEBUG_LEVEL > 0
- if (m_dbg_bMakeItFaster)
- nMilliSeconds = 300; // let us some time, to finish this method .-)
- #endif
}
else if (m_eTimerType == AutoRecovery::E_POLL_TILL_AUTOSAVE_IS_ALLOWED)
nMilliSeconds = 300; // there is a minimum time frame, where the user can lose some key input data!