summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authortymyjan <tymyjan@yahoo.co.uk>2016-04-03 17:42:53 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-04 05:49:06 +0000
commitc20cc7e79b3b3d8bcf9136bfdc2bab6dd6a4be06 (patch)
treedaecf1a18f37c46e0cca823f976b419de8e4f2c2 /svgio
parentbfb9612226314cd037c8eda30cc6ebbb46dc8512 (diff)
tdf#97499 Fixed containers parameters clearing #4
Change-Id: I7c96181399f4d7e62d4aceca404b22d68f903513 Reviewed-on: https://gerrit.libreoffice.org/23754 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgtoken.cxx2
-rw-r--r--svgio/source/svgreader/svgtools.cxx4
2 files changed, 2 insertions, 4 deletions
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;