summaryrefslogtreecommitdiff
path: root/store/source/storlckb.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:33:44 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:33:44 +0000
commitd897ab475c8b041675db1b57f946b9b1f1676009 (patch)
treea92e4ec36e306f86970092eb83ab5a6bf75745b4 /store/source/storlckb.cxx
parentfcbc9510555e695f3af12759250b0be66f161b0a (diff)
INTEGRATION: CWS warnings01 (1.4.30); FILE MERGED
2006/04/07 20:02:13 sb 1.4.30.3: RESYNC: (1.5-1.6); FILE MERGED 2005/09/22 21:58:33 sb 1.4.30.2: RESYNC: (1.4-1.5); FILE MERGED 2005/09/02 16:30:33 sb 1.4.30.1: #i53898# Made code warning-free.
Diffstat (limited to 'store/source/storlckb.cxx')
-rw-r--r--store/source/storlckb.cxx19
1 files changed, 7 insertions, 12 deletions
diff --git a/store/source/storlckb.cxx b/store/source/storlckb.cxx
index 9a94cef80999..51c0bbf42d6b 100644
--- a/store/source/storlckb.cxx
+++ b/store/source/storlckb.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: storlckb.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: kz $ $Date: 2006-02-28 10:32:25 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:33:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,7 +33,7 @@
*
************************************************************************/
-#define _STORE_STORLCKB_CXX_ "$Revision: 1.6 $"
+#define _STORE_STORLCKB_CXX_ "$Revision: 1.7 $"
#ifndef _SAL_TYPES_H_
#include <sal/types.h>
@@ -215,7 +215,7 @@ OStoreDirectory::~OStoreDirectory (void)
osl::MutexGuard aGuard (*m_xManager);
if (m_pNode)
{
- m_xManager->releasePage (m_aDescr, store_AccessReadOnly);
+ m_xManager->releasePage (m_aDescr);
}
}
delete m_pNode;
@@ -391,10 +391,7 @@ OStoreLockBytes::~OStoreLockBytes (void)
if (m_pNode)
{
OStorePageDescriptor aDescr (m_pNode->m_aDescr);
- if (m_bWriteable)
- m_xManager->releasePage (aDescr, store_AccessReadWrite);
- else
- m_xManager->releasePage (aDescr, store_AccessReadOnly);
+ m_xManager->releasePage (aDescr);
}
}
@@ -828,8 +825,7 @@ storeError OStoreLockBytes::stat (sal_uInt32 &rnSize)
/*
* lockRange.
*/
-storeError OStoreLockBytes::lockRange (
- sal_uInt32 nOffset, sal_uInt32 nBytes)
+storeError OStoreLockBytes::lockRange (sal_uInt32, sal_uInt32)
{
// (NYI).
return store_E_None;
@@ -838,8 +834,7 @@ storeError OStoreLockBytes::lockRange (
/*
* unlockRange.
*/
-storeError OStoreLockBytes::unlockRange (
- sal_uInt32 nOffset, sal_uInt32 nBytes)
+storeError OStoreLockBytes::unlockRange (sal_uInt32, sal_uInt32)
{
// (NYI).
return store_E_None;