PVS: V547 Expression '!bNeedAction' is always false.

Since
commit 9859528a0e
Author: Ingrid Halama <iha@openoffice.org>
Date:   Thu Mar 22 15:48:03 2001 +0000

    #84921# smart propagation of fetchsize and direction from stub to possibly underlyingCachedContentResultSet

Change-Id: I6d1c2ef916d3e5b43f4cc896ef202acd69e2a2fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177431
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Tested-by: Jenkins
This commit is contained in:
Xisco Fauli 2024-11-27 16:49:26 +01:00
parent 3b39c887e9
commit c251a8cfe6

View file

@ -366,16 +366,12 @@ void CachedContentResultSetStub
if( !m_bNeedToPropagateFetchSize )
return;
bool bNeedAction;
sal_Int32 nLastSize;
bool bLastDirection;
bool bFirstPropagationDone;
bNeedAction = m_bNeedToPropagateFetchSize;
nLastSize = m_nLastFetchSize;
bLastDirection = m_bLastFetchDirection;
bFirstPropagationDone = m_bFirstFetchSizePropagationDone;
if( !bNeedAction )
return;
if( nLastSize == nFetchSize
&& bLastDirection == bFetchDirection