[Libreoffice-commits] core.git: basegfx/source
Stephan Bergmann
sbergman at redhat.com
Tue Oct 28 03:55:02 PDT 2014
basegfx/source/polygon/b2dpolygontools.cxx | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit a00bae79f93b46c741ae9d5fbc90e27dd5442926
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Oct 28 11:54:34 2014 +0100
Fix --disable-sal-log builds
Change-Id: Ie0250745c9bd39e6e81f5f9eb96e661de2e4e2ef
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index d5bbcf7..03c298e 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -3416,9 +3416,7 @@ namespace basegfx
{
// prepare loop
bool bControlA(false);
-#if defined SAL_LOG_WARN
bool bControlB(false);
-#endif
// get next point and flag
aNewCoordinatePair = B2DPoint(pPointSequence->X, pPointSequence->Y);
@@ -3439,9 +3437,7 @@ namespace basegfx
if(b < nCount && com::sun::star::drawing::PolygonFlags_CONTROL == ePolygonFlag)
{
aControlB = aNewCoordinatePair;
-#if defined SAL_LOG_WARN
bControlB = true;
-#endif
// get next point and flag
aNewCoordinatePair = B2DPoint(pPointSequence->X, pPointSequence->Y);
@@ -3467,9 +3463,7 @@ namespace basegfx
&& aControlA.equal(aRetval.getB2DPoint(aRetval.count() - 1)))
{
bControlA = false;
-#if defined SAL_LOG_WARN
bControlB = false;
-#endif
}
if(bControlA)
More information about the Libreoffice-commits
mailing list