diff options
Diffstat (limited to 'store')
-rw-r--r-- | store/source/storcach.cxx | 2 | ||||
-rw-r--r-- | store/source/stordata.hxx | 8 | ||||
-rw-r--r-- | store/source/stortree.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/store/source/storcach.cxx b/store/source/storcach.cxx index 11b401a6a8d2..2f74a872e9d0 100644 --- a/store/source/storcach.cxx +++ b/store/source/storcach.cxx @@ -379,7 +379,7 @@ storeError PageCache::removePageAt (sal_uInt32 nOffset) if ((*ppEntry)->m_nOffset == nOffset) { // Existing entry. - Entry * entry = (*ppEntry); + Entry * entry = *ppEntry; // Dequeue and destroy entry. (*ppEntry) = entry->m_pNext; diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx index 33e968ec60d1..c992038bb3ac 100644 --- a/store/source/stordata.hxx +++ b/store/source/stordata.hxx @@ -417,7 +417,7 @@ struct OStoreDirectoryDataBlock /** direct. */ - static const sal_uInt16 directCount = ((sal_uInt16)(STORE_LIMIT_DATAPAGE_DIRECT)); + static const sal_uInt16 directCount = (sal_uInt16)(STORE_LIMIT_DATAPAGE_DIRECT); sal_uInt32 directLink (sal_uInt16 nIndex) const { @@ -434,7 +434,7 @@ struct OStoreDirectoryDataBlock /** single. */ - static const sal_uInt16 singleCount = ((sal_uInt16)(STORE_LIMIT_DATAPAGE_SINGLE)); + static const sal_uInt16 singleCount = (sal_uInt16)(STORE_LIMIT_DATAPAGE_SINGLE); sal_uInt32 singleLink (sal_uInt16 nIndex) const { @@ -451,7 +451,7 @@ struct OStoreDirectoryDataBlock /** double. */ - static const sal_uInt16 doubleCount = ((sal_uInt16)(STORE_LIMIT_DATAPAGE_DOUBLE)); + static const sal_uInt16 doubleCount = (sal_uInt16)(STORE_LIMIT_DATAPAGE_DOUBLE); sal_uInt32 doubleLink (sal_uInt16 nIndex) const { @@ -468,7 +468,7 @@ struct OStoreDirectoryDataBlock /** triple. */ - static const sal_uInt16 tripleCount = ((sal_uInt16)(STORE_LIMIT_DATAPAGE_TRIPLE)); + static const sal_uInt16 tripleCount = (sal_uInt16)(STORE_LIMIT_DATAPAGE_TRIPLE); sal_uInt32 tripleLink (sal_uInt16 nIndex) const { diff --git a/store/source/stortree.cxx b/store/source/stortree.cxx index a3d679dbdd4a..c4afa028c598 100644 --- a/store/source/stortree.cxx +++ b/store/source/stortree.cxx @@ -79,7 +79,7 @@ sal_uInt16 OStoreBTreeNodeData::find (const T& t) const l = m + 1; } - sal_uInt16 const k = ((sal_uInt16)r); + sal_uInt16 const k = (sal_uInt16)r; if ((k < capacityCount()) && (t.m_aKey < m_pData[k].m_aKey)) return k - 1; else |