summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-28 11:54:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-10-28 11:54:34 +0100
commita00bae79f93b46c741ae9d5fbc90e27dd5442926 (patch)
tree9800ed8ba56754b568cccaecb4619dec47022f7f /basegfx
parentba1d2677af955e95d7aa673c21d8be961b88389a (diff)
Fix --disable-sal-log builds
Change-Id: Ie0250745c9bd39e6e81f5f9eb96e661de2e4e2ef
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index d5bbcf7505ea..03c298e6be1a 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)