diff options
author | Oliver Bolte <obo@openoffice.org> | 2003-09-04 07:31:12 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2003-09-04 07:31:12 +0000 |
commit | 9c06b8723a1f6127389dfeb3032303595639756b (patch) | |
tree | 3cf4997b4cab35316dd539b2ee259e5dc7d24d85 | |
parent | fb9ca24ce6fbb23f95c9fa739fb3a77a69beb05b (diff) |
INTEGRATION: CWS oj4 (1.39.128); FILE MERGED
2003/06/24 09:12:32 oj 1.39.128.1: #i15052# set current record to recordcount and not one lesser
-rw-r--r-- | svx/source/form/fmshell.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx index 27db99006a6a..8a227f7cb435 100644 --- a/svx/source/form/fmshell.cxx +++ b/svx/source/form/fmshell.cxx @@ -2,9 +2,9 @@ * * $RCSfile: fmshell.cxx,v $ * - * $Revision: 1.39 $ + * $Revision: 1.40 $ * - * last change: $Author: hr $ $Date: 2003-03-27 15:02:32 $ + * last change: $Author: obo $ $Date: 2003-09-04 08:31:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1209,8 +1209,8 @@ void FmFormShell::Execute(SfxRequest &rReq) sal_Bool bFinal = ::comphelper::getBOOL(xSet->getPropertyValue(FM_PROP_ROWCOUNTFINAL)); sal_Int32 nRecordCount= ::comphelper::getINT32(xSet->getPropertyValue(FM_PROP_ROWCOUNT)); - if ( bFinal && (sal_Int32)nRecord >= nRecordCount ) - nRecord = nRecordCount - 1; + if ( bFinal && (sal_Int32)nRecord > nRecordCount ) + nRecord = nRecordCount; if (GetImpl()->SaveModified(GetImpl()->getNavController())) DO_SAFE( xCursor->absolute(nRecord); ); |