[Libreoffice-commits] core.git: tools/source
Noel Grandin
noel at peralex.com
Mon Jan 25 03:29:10 PST 2016
tools/source/inet/inetmime.cxx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
New commits:
commit f6db4b4ec619d392305bdf0b81b932e00831e837
Author: Noel Grandin <noel at peralex.com>
Date: Mon Jan 25 13:06:18 2016 +0200
workaround ICE in VisualStudio2013
Change-Id: Ia28d6b67f3f76a9101b035d8a61e775d9a5039b4
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx
index 69e564f..019da6a 100644
--- a/tools/source/inet/inetmime.cxx
+++ b/tools/source/inet/inetmime.cxx
@@ -684,9 +684,8 @@ bool parseParameters(ParameterList const & rInput,
break;
};
}
- auto const ret = pOutput->insert(
- {p->m_aAttribute,
- {aValue}});
+ INetContentTypeParameter x {aValue}; // workaround ICE in VisualStudio2013
+ auto const ret = pOutput->insert({p->m_aAttribute, x });
SAL_INFO_IF(!ret.second, "tools",
"INetMIME: dropping duplicate parameter: " << p->m_aAttribute);
p = pNext;
More information about the Libreoffice-commits
mailing list