From 9c06b8723a1f6127389dfeb3032303595639756b Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 4 Sep 2003 07:31:12 +0000 Subject: 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 --- svx/source/form/fmshell.cxx | 8 ++++---- 1 file 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); ); -- cgit