summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-03-14 11:32:24 +0530
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2016-03-15 00:14:07 +0000
commitafbdde44b85e0d76bbc102188391b296113802dd (patch)
treeca330768559998f7e3c0ea11fc267f7654acd672 /framework
parent4043af877587622935be828049b7b18cc27ad1d8 (diff)
tdf#91794 remove OSL_DEBUG_LEVLEL > 1 conditionals
I replaced OSL_DEBUG_LEVEL > 1 with OSL_DEBUG_LEVEL > 0 and made sure that the build doesn't break. Change-Id: I9a07da5b0f19d695339705e00112956a56589327 Reviewed-on: https://gerrit.libreoffice.org/23230 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/autorecovery.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx
index 82ef3646c452..f45e0ec7e1c5 100644
--- a/framework/source/services/autorecovery.cxx
+++ b/framework/source/services/autorecovery.cxx
@@ -439,7 +439,7 @@ private:
we use [ms] instead of that. Further we don't
wait 10 s for user idle ...
*/
- #if OSL_DEBUG_LEVEL > 1
+ #if OSL_DEBUG_LEVEL > 0
sal_Bool m_dbg_bMakeItFaster;
#endif
@@ -1266,7 +1266,7 @@ AutoRecovery::AutoRecovery(const css::uno::Reference< css::uno::XComponentContex
, m_nMinSpaceDocSave (MIN_DISCSPACE_DOCSAVE )
, m_nMinSpaceConfigSave (MIN_DISCSPACE_CONFIGSAVE )
- #if OSL_DEBUG_LEVEL > 1
+ #if OSL_DEBUG_LEVEL > 0
, m_dbg_bMakeItFaster (sal_False )
#endif
{
@@ -2291,7 +2291,7 @@ void AutoRecovery::implts_updateTimer()
if (m_eTimerType == AutoRecovery::E_NORMAL_AUTOSAVE_INTERVALL)
{
nMilliSeconds = (m_nAutoSaveTimeIntervall*60000); // [min] => 60.000 ms
- #if OSL_DEBUG_LEVEL > 1
+ #if OSL_DEBUG_LEVEL > 0
if (m_dbg_bMakeItFaster)
nMilliSeconds = m_nAutoSaveTimeIntervall; // [ms]
#endif
@@ -2299,7 +2299,7 @@ void AutoRecovery::implts_updateTimer()
else if (m_eTimerType == AutoRecovery::E_POLL_FOR_USER_IDLE)
{
nMilliSeconds = MIN_TIME_FOR_USER_IDLE;
- #if OSL_DEBUG_LEVEL > 1
+ #if OSL_DEBUG_LEVEL > 0
if (m_dbg_bMakeItFaster)
nMilliSeconds = 300; // let us some time, to finish this method .-)
#endif