summaryrefslogtreecommitdiff
path: root/drawinglayer
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-11-21 07:19:05 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-11-21 07:19:05 -0500
commit305461aafe2527fcf9bf796f59648c81b38d7850 (patch)
treeb4b0e1c830d15144bb2ac690b3124f63d61c8a24 /drawinglayer
parentdca47c4774a8373a7389268e3123bf8ebcf109c3 (diff)
Revert "fdo#81643: Regression in rendering of borders"
This reverts commit c35fae3f6b15221701cadfca3132803695607660. One man's feature (with minor issure) is another man's regressions...
Diffstat (limited to 'drawinglayer')
-rw-r--r--drawinglayer/source/processor2d/vclpixelprocessor2d.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
index f52f5625d46c..ba78741a751c 100644
--- a/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclpixelprocessor2d.cxx
@@ -278,7 +278,7 @@ namespace drawinglayer
return bTryWorked;
}
-/*
+
bool VclPixelProcessor2D::tryDrawBorderLinePrimitive2DDirect(
const drawinglayer::primitive2d::BorderLinePrimitive2D& rSource)
{
@@ -613,7 +613,7 @@ namespace drawinglayer
}
return false;
}
-*/
+
void VclPixelProcessor2D::processBasePrimitive2D(const primitive2d::BasePrimitive2D& rCandidate)
{
switch(rCandidate.getPrimitive2DID())
@@ -1229,10 +1229,10 @@ namespace drawinglayer
sal_uInt16 nAntiAliasing = mpOutputDevice->GetAntialiasing();
mpOutputDevice->SetAntialiasing(nAntiAliasing & ~ANTIALIASING_ENABLE_B2DDRAW);
- //const drawinglayer::primitive2d::BorderLinePrimitive2D& rBorder =
- //static_cast<const drawinglayer::primitive2d::BorderLinePrimitive2D&>(rCandidate);
+ const drawinglayer::primitive2d::BorderLinePrimitive2D& rBorder =
+ static_cast<const drawinglayer::primitive2d::BorderLinePrimitive2D&>(rCandidate);
- //if (!tryDrawBorderLinePrimitive2DDirect(rBorder))
+ if (!tryDrawBorderLinePrimitive2DDirect(rBorder))
process(rCandidate.get2DDecomposition(getViewInformation2D()));
mpOutputDevice->SetAntialiasing(nAntiAliasing);