filter/source/msfilter/msdffimp.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 53872d4eee780dce8072800eb333c618ece37c32 Author: Xisco Fauli <[email protected]> AuthorDate: Fri Nov 22 12:05:57 2024 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Fri Nov 22 14:05:13 2024 +0100 PVS: V547 Expression '!aHandlePropVec.empty()' is always true. Change-Id: I1eaf7fbb481f061948d65e9b7e855d9a9261e3ae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177001 Reviewed-by: Xisco Fauli <[email protected]> Tested-by: Jenkins diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx index c1b5ada846e4..60fa228f7f8c 100644 --- a/filter/source/msfilter/msdffimp.cxx +++ b/filter/source/msfilter/msdffimp.cxx @@ -2155,10 +2155,7 @@ void DffPropertyReader::ApplyCustomShapeGeometryAttributes( SvStream& rIn, SfxIt aHandlePropVec.push_back( aProp ); } } - if ( !aHandlePropVec.empty() ) - { - aHandlesRange[ i ] = comphelper::containerToSequence(aHandlePropVec); - } + aHandlesRange[ i ] = comphelper::containerToSequence(aHandlePropVec); } // pushing the whole Handles element aProp.Name = "Handles";
