summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-12-09 15:48:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-12-11 18:56:16 +0000
commit4ef9ccea6c4aa79cdc57dea52b47775c346696ec (patch)
treead3b4dd30484436c595990bd8994f94477b9492b /store
parent4282ea67c2e90222f141df8213b06dfed09d4c85 (diff)
OSL_TRACE -> SAL in sfx2..svx
Change-Id: I78cf8058a5682baa3d7b00a25feeb2d28fb3e66e Reviewed-on: https://gerrit.libreoffice.org/31799 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'store')
-rw-r--r--store/source/storbios.cxx2
-rw-r--r--store/source/storcach.cxx4
-rw-r--r--store/source/stordata.cxx6
3 files changed, 6 insertions, 6 deletions
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;
}