Kaydet (Commit) 7caa7ed2 authored tarafından Caolán McNamara's avatar Caolán McNamara

restrict this for > cairo 1.10.0 for now

Change-Id: I845a1b045a4e83c35cf1a837c7e520e3b0890c29
üst 5d7bd6b9
...@@ -873,6 +873,9 @@ bool SvpSalGraphics::drawPolyLine( ...@@ -873,6 +873,9 @@ bool SvpSalGraphics::drawPolyLine(
basegfx::B2DLineJoin eLineJoin, basegfx::B2DLineJoin eLineJoin,
css::drawing::LineCap eLineCap) css::drawing::LineCap eLineCap)
{ {
bool bRet = false;
(void)rPolyLine; (void)fTransparency; (void)rLineWidths; (void)eLineJoin; (void)eLineCap;
#if CAIRO_VERSION >= CAIRO_VERSION_ENCODE(1, 10, 0)
// short circuit if there is nothing to do // short circuit if there is nothing to do
const int nPointCount = rPolyLine.count(); const int nPointCount = rPolyLine.count();
if (nPointCount <= 0) if (nPointCount <= 0)
...@@ -971,8 +974,9 @@ bool SvpSalGraphics::drawPolyLine( ...@@ -971,8 +974,9 @@ bool SvpSalGraphics::drawPolyLine(
xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + extents.width, xDamageTracker->damaged(basegfx::B2IBox(extents.x, extents.y, extents.x + extents.width,
extents.y + extents.height)); extents.y + extents.height));
} }
bRet = true;
return true; #endif
return bRet;
} }
bool SvpSalGraphics::drawPolyLineBezier( sal_uInt32, bool SvpSalGraphics::drawPolyLineBezier( sal_uInt32,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment