diff options
Diffstat (limited to 'package/source/manifest')
-rw-r--r-- | package/source/manifest/ManifestImport.cxx | 3 |
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) ); |