diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 2 | ||||
-rw-r--r-- | sot/source/sdstor/ucbstorage.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index e54ffa4f14af..4846fb33a90d 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -82,7 +82,7 @@ bool StgPage::IsPageGreater( const StgPage *pA, const StgPage *pB ) static sal_Int32 lcl_GetPageCount( sal_uLong nFileSize, short nPageSize ) { // return (nFileSize >= 512) ? (nFileSize - 512) / nPageSize : 0; - // #i61980# reallife: last page may be incomplete, return number of *started* pages + // #i61980# real life: last page may be incomplete, return number of *started* pages return (nFileSize >= 512) ? (nFileSize - 512 + nPageSize - 1) / nPageSize : 0; } diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx index 6014af95ba9e..ff7a20694e43 100644 --- a/sot/source/sdstor/ucbstorage.cxx +++ b/sot/source/sdstor/ucbstorage.cxx @@ -487,7 +487,7 @@ public: bool m_bDirect; // the storage and its streams are opened in direct mode; for UCBStorages // this means that the root storage does an autocommit when its external // reference is destroyed - bool m_bIsRoot; // marks this storage as root storages that manages all oommits and reverts + bool m_bIsRoot; // marks this storage as root storages that manages all commits and reverts bool m_bDirty; // ??? bool m_bIsLinked; bool m_bListCreated; |