summaryrefslogtreecommitdiff
path: root/store/source/storbios.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/storbios.cxx')
-rw-r--r--store/source/storbios.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx
index 3a4e37f24982..dab00785c285 100644
--- a/store/source/storbios.cxx
+++ b/store/source/storbios.cxx
@@ -25,6 +25,7 @@
#include "sal/types.h"
#include "sal/macros.h"
+#include "sal/log.hxx"
#include "rtl/alloc.h"
#include "rtl/ref.hxx"
@@ -258,9 +259,10 @@ storeError SuperBlockPage::unusedHead (OStorePageBIOS & rBIOS, PageData & rPageH
// Verify page is unused.
sal_uInt32 const nAddr = rPageHead.m_aUnused.location();
- OSL_POSTCOND(nAddr != STORE_PAGE_NULL, "store::SuperBlock::unusedHead(): page not free");
if (nAddr == STORE_PAGE_NULL)
{
+ SAL_WARN("store", "store::SuperBlock::unusedHead(): page not free");
+
// Page in use.
rPageHead.location (STORE_PAGE_NULL);