From c20cc7e79b3b3d8bcf9136bfdc2bab6dd6a4be06 Mon Sep 17 00:00:00 2001 From: tymyjan Date: Sun, 3 Apr 2016 17:42:53 +0200 Subject: tdf#97499 Fixed containers parameters clearing #4 Change-Id: I7c96181399f4d7e62d4aceca404b22d68f903513 Reviewed-on: https://gerrit.libreoffice.org/23754 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svgio/source/svgreader/svgtoken.cxx | 2 +- svgio/source/svgreader/svgtools.cxx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'svgio') diff --git a/svgio/source/svgreader/svgtoken.cxx b/svgio/source/svgreader/svgtoken.cxx index 4c40054182d2..bb9ac17e23cf 100644 --- a/svgio/source/svgreader/svgtoken.cxx +++ b/svgio/source/svgreader/svgtoken.cxx @@ -167,7 +167,7 @@ namespace svgio SVGToken StrToSVGToken(const OUString& rStr, bool bCaseIndependent) { - typedef std::unordered_map< OUString, SVGToken, OUStringHash, std::equal_to< OUString > > SVGTokenMapper; + typedef std::unordered_map< OUString, SVGToken, OUStringHash > SVGTokenMapper; typedef std::pair< OUString, SVGToken > SVGTokenValueType; static SVGTokenMapper aSVGTokenMapperList; diff --git a/svgio/source/svgreader/svgtools.cxx b/svgio/source/svgreader/svgtools.cxx index 3783d406d60c..14e5bdaa9553 100644 --- a/svgio/source/svgreader/svgtools.cxx +++ b/svgio/source/svgreader/svgtools.cxx @@ -638,9 +638,7 @@ namespace svgio bool match_colorKeyword(basegfx::BColor& rColor, const OUString& rName, bool bCaseIndependent) { typedef std::unordered_map< OUString, Color, - OUStringHash, - ::std::equal_to< OUString > - > ColorTokenMapper; + OUStringHash > ColorTokenMapper; typedef std::pair< OUString, Color > ColorTokenValueType; ColorTokenMapper aColorTokenMapperList; -- cgit