[Libreoffice-commits] core.git: testtools/source

Michael Stahl mstahl at redhat.com
Fri Jan 29 07:15:53 PST 2016


 testtools/source/bridgetest/cppobj.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 5021f01e240399498a02a72ab1d4be766f38c2ef
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Jan 29 16:12:26 2016 +0100

    testtools: disable MSVC warning C4503
    
    This was disabled by boost/config/compiler/visualc.hpp before commit
    110d55cc11033d72bce908e65bbb6a9506ab39e5
    
    Change-Id: Ic4757b0ab74c14fb49d7a0ec502253b667fae033

diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx
index fca1fe4..3412ae4 100644
--- a/testtools/source/bridgetest/cppobj.cxx
+++ b/testtools/source/bridgetest/cppobj.cxx
@@ -54,6 +54,9 @@ using namespace com::sun::star::lang;
 using namespace com::sun::star::registry;
 using namespace test::testtools::bridgetest;
 
+#ifdef _MSC_VER
+#pragma warning (disable : 4503) // irrelevant for test code
+#endif
 
 #define SERVICENAME     "com.sun.star.test.bridge.CppTestObject"
 #define IMPLNAME        "com.sun.star.comp.bridge.CppTestObject"


More information about the Libreoffice-commits mailing list