framework/source/services/autorecovery.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit afbdde44b85e0d76bbc102188391b296113802dd Author: Rohan Kumar <rohankanojia...@gmail.com> Date: Mon Mar 14 11:32:24 2016 +0530 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 <c...@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michael...@canonical.com> diff --git a/framework/source/services/autorecovery.cxx b/framework/source/services/autorecovery.cxx index 82ef364..f45e0ec 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
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits