summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-03 14:31:19 +0200
committerNoel Grandin <noel@peralex.com>2015-06-04 08:30:24 +0200
commit42f771d6e9c02c50acc49f7feb1a9b5d0a9368ae (patch)
tree227208438b1723a20842ff8555b1bbb1e8b8ba27 /svx/source/sdr
parent1d92933d96d94819fa3a4ae2de9519874f9b92b6 (diff)
convert B2DLineJoin to scoped enum
Change-Id: I4fb8f2c9e2080e3aa542d2ccf838e6784baa8429
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/attribute/sdrformtextattribute.cxx10
-rw-r--r--svx/source/sdr/primitive2d/sdrattributecreator.cxx10
2 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/sdr/attribute/sdrformtextattribute.cxx b/svx/source/sdr/attribute/sdrformtextattribute.cxx
index 03af4df32def..f4d7be6c2339 100644
--- a/svx/source/sdr/attribute/sdrformtextattribute.cxx
+++ b/svx/source/sdr/attribute/sdrformtextattribute.cxx
@@ -58,23 +58,23 @@ namespace
{
case com::sun::star::drawing::LineJoint_MIDDLE :
{
- return basegfx::B2DLINEJOIN_MIDDLE;
+ return basegfx::B2DLineJoin::Middle;
}
case com::sun::star::drawing::LineJoint_BEVEL :
{
- return basegfx::B2DLINEJOIN_BEVEL;
+ return basegfx::B2DLineJoin::Bevel;
}
case com::sun::star::drawing::LineJoint_MITER :
{
- return basegfx::B2DLINEJOIN_MITER;
+ return basegfx::B2DLineJoin::Miter;
}
case com::sun::star::drawing::LineJoint_ROUND :
{
- return basegfx::B2DLINEJOIN_ROUND;
+ return basegfx::B2DLineJoin::Round;
}
default : // com::sun::star::drawing::LineJoint_NONE
{
- return basegfx::B2DLINEJOIN_NONE; // XLINEJOINT_NONE
+ return basegfx::B2DLineJoin::NONE; // XLINEJOINT_NONE
}
}
}
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
index 4ac6708d24c7..522236729c62 100644
--- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx
+++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
@@ -138,23 +138,23 @@ namespace drawinglayer
{
case com::sun::star::drawing::LineJoint_MIDDLE :
{
- return basegfx::B2DLINEJOIN_MIDDLE;
+ return basegfx::B2DLineJoin::Middle;
}
case com::sun::star::drawing::LineJoint_BEVEL :
{
- return basegfx::B2DLINEJOIN_BEVEL;
+ return basegfx::B2DLineJoin::Bevel;
}
case com::sun::star::drawing::LineJoint_MITER :
{
- return basegfx::B2DLINEJOIN_MITER;
+ return basegfx::B2DLineJoin::Miter;
}
case com::sun::star::drawing::LineJoint_ROUND :
{
- return basegfx::B2DLINEJOIN_ROUND;
+ return basegfx::B2DLineJoin::Round;
}
default : // com::sun::star::drawing::LineJoint_NONE
{
- return basegfx::B2DLINEJOIN_NONE;
+ return basegfx::B2DLineJoin::NONE;
}
}
}