diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-25 13:06:18 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-25 13:22:13 +0200 |
commit | f6db4b4ec619d392305bdf0b81b932e00831e837 (patch) | |
tree | f3c407d6a628e9c1e1dc955629ba54f00b13b0cf /tools | |
parent | bd383c3f74a31366b139044ad21b48cc671e2213 (diff) |
workaround ICE in VisualStudio2013
Change-Id: Ia28d6b67f3f76a9101b035d8a61e775d9a5039b4
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/inet/inetmime.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index 69e564f99785..019da6a61c0d 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; |