summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 17:03:35 +1000
commit97eb00c75e173d4c8d0b483a7941ad3d2f23783e (patch)
tree7974a8b9423c56982646366b0859dfb2a1a88d50 /store
parentd0a99cc2ed76be220f7e868e332ba19f6e48a440 (diff)
revert OSL_ASSERT changes
Change-Id: I365d140446bd2a62cf8256acbfdd53fe72987380
Diffstat (limited to 'store')
-rw-r--r--store/source/storbios.cxx2
-rw-r--r--store/source/store.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx
index 6efb66501526..12208b1c597a 100644
--- a/store/source/storbios.cxx
+++ b/store/source/storbios.cxx
@@ -497,7 +497,7 @@ OStorePageBIOS::AceCache::create (sal_uInt32 addr)
if (ace != nullptr)
{
// verify invariant state.
- assert((ace->m_next == ace) && (ace->m_prev == ace));
+ OSL_ASSERT((ace->m_next == ace) && (ace->m_prev == ace));
// initialize.
ace->m_addr = addr;
diff --git a/store/source/store.cxx b/store/source/store.cxx
index 664c4938a513..7c06aee6f91e 100644
--- a/store/source/store.cxx
+++ b/store/source/store.cxx
@@ -113,7 +113,7 @@ storeError SAL_CALL store_createMemoryFile (
storeError eErrCode = MemoryLockBytes_createInstance(xLockBytes);
if (eErrCode != store_E_None)
return eErrCode;
- assert(xLockBytes.is());
+ OSL_ASSERT(xLockBytes.is());
Reference<OStorePageManager> xManager (new OStorePageManager());
if (!xManager.is())
@@ -151,7 +151,7 @@ storeError SAL_CALL store_openFile (
storeError eErrCode = FileLockBytes_createInstance (xLockBytes, pFilename, eAccessMode);
if (eErrCode != store_E_None)
return eErrCode;
- assert(xLockBytes.is());
+ OSL_ASSERT(xLockBytes.is());
Reference<OStorePageManager> xManager (new OStorePageManager());
if (!xManager.is())