From 2ccde70d60d3a5074faf49260e8fe0ccdb91ff26 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 22 May 2017 15:55:38 +0200 Subject: teach redundantcast plugin about functional casts Change-Id: Iac8ccd17d9e46ebb2cb55db7adb06c469bbd4ea0 Reviewed-on: https://gerrit.libreoffice.org/37910 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- tools/source/inet/inetmime.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 12626d44df13..e3d405bfbce3 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -606,7 +606,7 @@ sal_Unicode const * scanParameters(sal_Unicode const * pBegin, } bool bPresent = std::any_of(aList.begin(), aList.end(), - Parameter::IsSameSection({aAttribute, nSection})); + Parameter::IsSameSection{aAttribute, nSection}); if (bPresent) break; -- cgit