diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgio.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgio.cxx b/sot/source/sdstor/stgio.cxx index bcfff0d51118..803ab3761b68 100644 --- a/sot/source/sdstor/stgio.cxx +++ b/sot/source/sdstor/stgio.cxx @@ -211,8 +211,9 @@ FatError EasyFat::Mark( sal_Int32 nPage, sal_Int32 nCount, sal_Int32 nExpect ) { if( nCount > 0 ) { - --nCount /= GetPageSize(); - nCount++; + --nCount; + nCount /= GetPageSize(); + ++nCount; } sal_Int32 nCurPage = nPage; |