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

Thorsten Behrens tbehrens at suse.com
Wed Aug 14 15:37:36 PDT 2013


 svx/source/customshapes/EnhancedCustomShapeGeometry.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 5145248c91e37d9a73de2d3d026f80c863ff0176
Author: Thorsten Behrens <tbehrens at suse.com>
Date:   Thu Aug 15 00:35:10 2013 +0200

    Better fix for msvc 2012 build fix.
    
    Don't sprinkle code base with random defines, this is all done
    in sal/config.hxx. Nominally, that file needs to always be included
    first.
    
    Change-Id: Iafa851ea6fd1ba5457dab497566d39d0226e5ecb

diff --git a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
index f5662b0..007373e 100644
--- a/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeGeometry.cxx
@@ -17,9 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifdef WNT
-#define _USE_MATH_DEFINES // for M_SQRT2
-#endif
+#include <sal/config.h>
 
 #include <cmath>
 #include <limits>


More information about the Libreoffice-commits mailing list