summaryrefslogtreecommitdiff
path: root/svgio
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-03 14:31:19 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2016-02-05 23:17:42 -0500
commita3b09f13708cbb1c30c1e7fe85f6dd5365369ed9 (patch)
treecc1be33dc9e5980cafbfb64071b6e13b48fe7e11 /svgio
parente07615ebd2edcde278ce82f45dfa3409b8a9fe8a (diff)
convert B2DLineJoin to scoped enum
Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429 (cherry picked from commit 42f771d6e9c02c50acc49f7feb1a9b5d0a9368ae)
Diffstat (limited to 'svgio')
-rw-r--r--svgio/source/svgreader/svgstyleattributes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgstyleattributes.cxx b/svgio/source/svgreader/svgstyleattributes.cxx
index 4735887e4171..1ca8d646c43a 100644
--- a/svgio/source/svgreader/svgstyleattributes.cxx
+++ b/svgio/source/svgreader/svgstyleattributes.cxx
@@ -47,14 +47,14 @@ namespace svgio
{
if(StrokeLinejoin_round == aStrokeLinejoin)
{
- return basegfx::B2DLINEJOIN_ROUND;
+ return basegfx::B2DLineJoin::Round;
}
else if(StrokeLinejoin_bevel == aStrokeLinejoin)
{
- return basegfx::B2DLINEJOIN_BEVEL;
+ return basegfx::B2DLineJoin::Bevel;
}
- return basegfx::B2DLINEJOIN_MITER;
+ return basegfx::B2DLineJoin::Miter;
}
com::sun::star::drawing::LineCap StrokeLinecapToDrawingLineCap(StrokeLinecap aStrokeLinecap)