summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-26 21:52:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-04-27 12:40:53 +0200
commit6afbe153ffd4cab27f0a7bb77f71f25923dc2e43 (patch)
tree447ba00acd9f14b9eb61432505e9bee37f86d6f4 /vcl
parent9207516888e73398599a9890af78cd677ddd0992 (diff)
remove comment in light of fix for tdf#120797
Change-Id: I3093f764a26abdbdb651596352ba74b7fa1c3306 Reviewed-on: https://gerrit.libreoffice.org/71399 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/headless/svpgdi.cxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 1c36f351b538..6f70ec6edaa0 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -1347,21 +1347,9 @@ bool SvpSalGraphics::drawPolyLine(
}
// extract extents
- if(nullptr != pExtents)
- {
- // This uses cairo_stroke_extents and combines with cairo_clip_extents, so
- // referring to Cairo-documentation:
- // "Computes a bounding box in user coordinates covering the area that would
- // be affected, (the "inked" area), by a cairo_stroke() operation given the
- // current path and stroke parameters."
- // It *should* use the current set cairo_matrix_t.
+ if (pExtents)
*pExtents = getClippedStrokeDamage(cr);
- // If not - the following code needs to be used to correct that:
- // if(!pExtents->isEmpty() && !bObjectToDeviceIsIdentity)
- // pExtents->transform(rObjectToDevice);
- }
-
// draw and consume
cairo_stroke(cr);