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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Jan 29 10:02:07 UTC 2019


 basegfx/source/polygon/b2dpolygontools.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 4ac86e33433cbc606157ac911bab026a454345aa
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue Jan 29 09:17:15 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue Jan 29 11:01:45 2019 +0100

    b2dpolygontools: removing debug code, doesn't seem to be useful
    
    Change-Id: Id1aff2ede83e4c35976ebd51fc05aeea80dfae20
    Reviewed-on: https://gerrit.libreoffice.org/67049
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 38d9bb192696..f6ac3b279235 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -39,9 +39,6 @@
 // #i37443#
 #define ANGLE_BOUND_START_VALUE     (2.25)
 #define ANGLE_BOUND_MINIMUM_VALUE   (0.1)
-#ifdef DBG_UTIL
-static double fAngleBoundStartValue = ANGLE_BOUND_START_VALUE;
-#endif
 #define STEPSPERQUARTER     (3)
 
 namespace basegfx
@@ -270,11 +267,7 @@ namespace basegfx
                     // #i37443# prepare convenient AngleBound if none was given
                     if(fAngleBound == 0.0)
                     {
-#ifdef DBG_UTIL
-                        fAngleBound = fAngleBoundStartValue;
-#else
                         fAngleBound = ANGLE_BOUND_START_VALUE;
-#endif
                     }
                     else if(fTools::less(fAngleBound, ANGLE_BOUND_MINIMUM_VALUE))
                     {


More information about the Libreoffice-commits mailing list