sot/source/sdstor/stgio.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit b739827f996262fb3719c25a622a0482cdb4c626 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Fri Oct 19 10:02:37 2018 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Fri Oct 19 12:56:43 2018 +0200 simplify expression Change-Id: I57c7df50040737656c2a68e5fdc0d069ad21f833 Reviewed-on: https://gerrit.libreoffice.org/61975 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits