From 4ef9ccea6c4aa79cdc57dea52b47775c346696ec Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 9 Dec 2016 15:48:38 +0200 Subject: OSL_TRACE -> SAL in sfx2..svx Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e Reviewed-on: https://gerrit.libreoffice.org/31799 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- store/source/storbios.cxx | 2 +- store/source/storcach.cxx | 4 ++-- store/source/stordata.cxx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'store') diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index 00648ce170e3..12208b1c597a 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.cxx @@ -373,7 +373,7 @@ storeError SuperBlockPage::verify (OStorePageBIOS & rBIOS) else { // Double Failure. - OSL_TRACE("OStoreSuperBlockPage::verify(): double failure."); + SAL_WARN("store", "OStoreSuperBlockPage::verify(): double failure."); } } diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index a48d3ed91a98..7ab20e6d4e27 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -207,7 +207,7 @@ PageCache::~PageCache() s_x += double(x); } double ave = s_x / double(n); - OSL_TRACE("ave hash chain length: %g", ave); + SAL_INFO("store", "avg hash chain length: " << ave); (void) ave; if (m_hash_table != m_hash_table_0) @@ -217,7 +217,7 @@ PageCache::~PageCache() m_hash_size = theTableSize; m_hash_shift = highbit(m_hash_size) - 1; } - OSL_TRACE("Hits: %zu, Misses: %zu", m_nHit, m_nMissed); + SAL_INFO("store", "Hits: " << m_nHit << ", Misses: " << m_nMissed); } void PageCache::rescale_Impl (std::size_t new_size) diff --git a/store/source/stordata.cxx b/store/source/stordata.cxx index 430f52e0d388..9c5e6318249c 100644 --- a/store/source/stordata.cxx +++ b/store/source/stordata.cxx @@ -786,7 +786,7 @@ storeError OStoreDirectoryPageObject::read ( else { // Unknown scope. - OSL_TRACE("OStoreDirectoryPageObject::get(): scope failed"); + SAL_WARN("store", "OStoreDirectoryPageObject::get(): scope failed"); eErrCode = store_E_Unknown; } @@ -873,7 +873,7 @@ storeError OStoreDirectoryPageObject::write ( else { // Unknown scope. - OSL_TRACE("OStoreDirectoryPageObject::put(): scope failed"); + SAL_WARN("store", "OStoreDirectoryPageObject::put(): scope failed"); eErrCode = store_E_Unknown; } @@ -995,7 +995,7 @@ storeError OStoreDirectoryPageObject::truncate ( else { // Unknown scope. - OSL_TRACE("OStoreDirectoryPageObject::put(): scope failed"); + SAL_WARN("store", "OStoreDirectoryPageObject::put(): scope failed"); eErrCode = store_E_Unknown; } -- cgit v1.2.3