[Libreoffice-commits] core.git: tools/source
Norbert Thiebaud
nthiebaud at gmail.com
Sun Feb 21 23:13:55 UTC 2016
tools/source/inet/inetmsg.cxx | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit 981a62f8511416e679a35cdb11195e2149d81138
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sat Feb 20 08:16:47 2016 -0800
WaE vs2015 bug, add a temporary warning disable
Microsoft say that the warning c4592 we get there in vs2015-r1 is a bug
on their side. Ignore it for now
Change-Id: I820840a50932e42371947cdc10d1e09278f744ca
Reviewed-on: https://gerrit.libreoffice.org/22593
Reviewed-by: David Ostrovsky <david at ostrovsky.org>
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud at gmail.com>
diff --git a/tools/source/inet/inetmsg.cxx b/tools/source/inet/inetmsg.cxx
index 2967bad..c161f76 100644
--- a/tools/source/inet/inetmsg.cxx
+++ b/tools/source/inet/inetmsg.cxx
@@ -204,6 +204,11 @@ bool INetMIMEMessage::ParseDateField (
(rDateTime.GetHour() > 23) ));
}
+#ifdef _MSC_VER
+#pragma warning(push)
+#pragma warning( disable : 4592)
+#endif
+
static const std::map<InetMessageMime, const char*> ImplINetMIMEMessageHeaderData =
{
{ InetMessageMime::VERSION, "MIME-Version"},
@@ -212,6 +217,10 @@ static const std::map<InetMessageMime, const char*> ImplINetMIMEMessageHeaderDat
{ InetMessageMime::CONTENT_TRANSFER_ENCODING, "Content-Transfer-Encoding"}
};
+#ifdef _MSC_VER
+#pragma warning(pop)
+#endif
+
INetMIMEMessage::INetMIMEMessage()
: pParent(nullptr)
{
More information about the Libreoffice-commits
mailing list