From c251a8cfe6b72c910d79d48e644046de4e7a2536 Mon Sep 17 00:00:00 2001 From: Xisco Fauli Date: Wed, 27 Nov 2024 16:49:26 +0100 Subject: [PATCH] PVS: V547 Expression '!bNeedAction' is always false. Since commit 9859528a0e0ab33b22d4969e1856ec1dc98de6b6 Author: Ingrid Halama 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 Tested-by: Jenkins --- ucb/source/cacher/cachedcontentresultsetstub.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index 5e8fe8f2f934..7d7ba81f52cc 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -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