[Libreoffice-commits] core.git: svl/qa

Stephan Bergmann sbergman at redhat.com
Fri May 18 05:56:03 UTC 2018


 svl/qa/unit/svl.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 97537598c4166d887160d60b8c8e8ee6d758bbcc
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu May 17 18:06:48 2018 +0200

    Remove some cruft
    
    That block of code at the top of the file started out as
    
      #include "precompiled_svl.hxx"
    
      #ifdef WNT
      # include <prewin.h>
      # include <postwin.h>
      # undef ERROR
      #endif
    
    in d2a16264ec6cb1ca5e8178096b72053a357cb3fb "Initial unit test skeleton, copied
    and modified from sc", so assume the leftover #undef is unnecessary cargo-cult
    by now.
    
    Change-Id: I39637518d1507352b1eb2ed19168013d9fe635ac
    Reviewed-on: https://gerrit.libreoffice.org/54499
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
    Tested-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/svl/qa/unit/svl.cxx b/svl/qa/unit/svl.cxx
index c944200ae23e..6e90143f5a08 100644
--- a/svl/qa/unit/svl.cxx
+++ b/svl/qa/unit/svl.cxx
@@ -7,10 +7,6 @@
  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  */
 
-#ifdef _WIN32
-# undef ERROR
-#endif
-
 #include <sal/types.h>
 #include <config_libnumbertext.h>
 #include <cppunit/TestAssert.h>


More information about the Libreoffice-commits mailing list