summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/borderlineprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/borderlineprimitive2d.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
index 8a7d8b297a90..cb026ccf6caf 100644
--- a/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/borderlineprimitive2d.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -78,7 +78,7 @@ namespace drawinglayer
aLeft.append(aTmpEnd);
xRetval[nInsert++] = Primitive2DReference(new PolygonHairlinePrimitive2D(
- aLeft,
+ aLeft,
getRGBColor()));
}
else
@@ -88,7 +88,7 @@ namespace drawinglayer
// is available and fat line special case reductions between 0.5 < x < 2.5 line widths
// are executed due to the FilledPolygon-do-not-paint-their-bottom-and-right-lines.
const basegfx::B2DVector aLineWidthOffset((getCorrectedLeftWidth() * 0.5) * aPerpendicular);
-
+
aLeft.append(aTmpStart + aLineWidthOffset);
aLeft.append(aTmpEnd + aLineWidthOffset);
aLeft.append(aTmpEnd - aLineWidthOffset);
@@ -113,9 +113,9 @@ namespace drawinglayer
// create hairline primitive
aRight.append(aTmpStart);
aRight.append(aTmpEnd);
-
+
xRetval[nInsert++] = Primitive2DReference(new PolygonHairlinePrimitive2D(
- aRight,
+ aRight,
getRGBColor()));
}
else
@@ -151,14 +151,14 @@ namespace drawinglayer
aPolygon.append(aTmpEnd);
xRetval[0] = Primitive2DReference(new PolygonHairlinePrimitive2D(
- aPolygon,
+ aPolygon,
getRGBColor()));
}
else
{
// create filled polygon primitive
const basegfx::B2DVector aLineWidthOffset((getCorrectedLeftWidth() * 0.5) * aPerpendicular);
-
+
aPolygon.append( aTmpStart );
aPolygon.append( aTmpEnd );
@@ -204,7 +204,7 @@ namespace drawinglayer
bool bCreateOutside,
const basegfx::BColor& rRGBColor,
const short nStyle)
- : BufferedDecompositionPrimitive2D(),
+ : BufferedDecompositionPrimitive2D(),
maStart(rStart),
maEnd(rEnd),
mfLeftWidth(fLeftWidth),