summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:46:47 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-05-07 07:46:47 +1000
commitb15c5c499ee5f54bbe11ccb792b3b38259bc6015 (patch)
treec0aeaad8c6bc0956e41e9bbbb9fda03fdca24461 /store
parent7c6c4bbceca3f2056f4376a9d350e44be9fd0a39 (diff)
tdf#43157: convert store from OSL_ASSERT to assert
Change-Id: I7500a0021b33a50ca2e73220b2f8fa2f5ac16e22
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 12208b1c597a..6efb66501526 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.
- OSL_ASSERT((ace->m_next == ace) && (ace->m_prev == ace));
+ 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 7c06aee6f91e..664c4938a513 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;
- OSL_ASSERT(xLockBytes.is());
+ 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;
- OSL_ASSERT(xLockBytes.is());
+ assert(xLockBytes.is());
Reference<OStorePageManager> xManager (new OStorePageManager());
if (!xManager.is())