summaryrefslogtreecommitdiff
path: root/store/source/storlckb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'store/source/storlckb.cxx')
-rw-r--r--store/source/storlckb.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/store/source/storlckb.cxx b/store/source/storlckb.cxx
index 0e74ab931974..eacfc8b140b7 100644
--- a/store/source/storlckb.cxx
+++ b/store/source/storlckb.cxx
@@ -101,19 +101,19 @@ storeError OStoreLockBytes::create (
}
inode_holder_type xNode (aPage.get());
- if (eMode != store_AccessReadOnly)
- eErrCode = xManager->acquirePage (xNode->m_aDescr, store_AccessReadWrite);
+ if (eMode != storeAccessMode::ReadOnly)
+ eErrCode = xManager->acquirePage (xNode->m_aDescr, storeAccessMode::ReadWrite);
else
- eErrCode = xManager->acquirePage (xNode->m_aDescr, store_AccessReadOnly);
+ eErrCode = xManager->acquirePage (xNode->m_aDescr, storeAccessMode::ReadOnly);
if (eErrCode != store_E_None)
return eErrCode;
m_xManager = xManager;
m_xNode = xNode;
- m_bWriteable = (eMode != store_AccessReadOnly);
+ m_bWriteable = (eMode != storeAccessMode::ReadOnly);
// Check for truncation.
- if (eMode == store_AccessCreate)
+ if (eMode == storeAccessMode::Create)
{
// Truncate to zero length.
eErrCode = setSize(0);