summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-30 12:21:39 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-09-30 10:34:17 +0000
commitf45ac62a20b80033a7f5ccdef4a6c116b6fece24 (patch)
tree960048ceaaa7a874d88a804b2dbec76ae26c910e /sot
parente90848edfd8cb146ab4e11eb2e62c93ed344d62f (diff)
Fix typos
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgcache.cxx2
-rw-r--r--sot/source/sdstor/ucbstorage.cxx2
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;