update dev300-m58
[ooovba.git] / applied_patches / 0394-speed-store.diff
blob3a2ffc407f2f735fe91768b70b812144148c7409
1 diff -u -r ../HEAD/build/src680-m211/store/source/storbase.hxx store/source/storbase.hxx
2 --- store/source/storbase.hxx
3 +++ store/source/storbase.hxx
4 @@ -883,6 +883,7 @@
5 */
6 storeError verify ()
8 + return store_E_None;
9 sal_uInt32 nCRC32 = 0;
10 nCRC32 = G::crc32 (nCRC32, &PageHeader ().m_aGuard.m_nMagic, sizeof(sal_uInt32));
11 nCRC32 = G::crc32 (nCRC32, &PageHeader ().m_aDescr, size() - sizeof(G));
12 diff -u -r ../HEAD/build/src680-m211/store/source/stordata.hxx store/source/stordata.hxx
13 --- store/source/stordata.hxx
14 +++ store/source/stordata.hxx
15 @@ -246,6 +246,7 @@
17 storeError verify (const D& rDescr)
19 + return store_E_None;
20 sal_uInt32 nCRC32 = 0;
21 nCRC32 = G::crc32 (nCRC32, &DataRepresentation ().m_aGuard.m_nMagic, sizeof(sal_uInt32));
22 nCRC32 = G::crc32 (nCRC32, DataRepresentation ().m_pData, capacity(rDescr));
23 --- store/source/stortree.cxx
24 +++ store/source/stortree.cxx
25 @@ -253,6 +253,8 @@
27 storeError OStoreBTreeNodeObject::verify (const D& rDescr)
29 + return store_E_None;
31 return PageHolderObject< page >::verify (m_xPage, nAddr);