summaryrefslogtreecommitdiff
path: root/package/source/manifest
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-11-18 15:09:20 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-11-18 18:38:56 +0100
commit06e469623307821e8a1c4b0a3a2aa6f3dd202da6 (patch)
tree2701c5397f6a76ac7903a3e27b58547dcd7cf456 /package/source/manifest
parent597ba50a18ad9101cb5fa506b200fea12b580aa6 (diff)
c++20: use std::erase(_if) instead of std::remove(_if)+erase (part 6)
Change-Id: Ic073d7444e968e90068aa60847bc9211167f6278 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159626 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'package/source/manifest')
-rw-r--r--package/source/manifest/ManifestImport.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/source/manifest/ManifestImport.cxx b/package/source/manifest/ManifestImport.cxx
index 2c55bcf87fe9..195324fdbe2a 100644
--- a/package/source/manifest/ManifestImport.cxx
+++ b/package/source/manifest/ManifestImport.cxx
@@ -401,8 +401,7 @@ void SAL_CALL ManifestImport::endElement( const OUString& aName )
aSequence[PKG_SIZE_NOENCR_MNFST].Name = "KeyInfo";
aSequence[PKG_SIZE_NOENCR_MNFST].Value <<= comphelper::containerToSequence(aKeys);
}
- aSequence.erase(std::remove_if(aSequence.begin(), aSequence.end(),
- isEmpty), aSequence.end());
+ std::erase_if(aSequence, isEmpty);
bIgnoreEncryptData = false;
rManVector.push_back ( comphelper::containerToSequence(aSequence) );