summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-29 14:58:50 +0200
committerNoel Grandin <noel@peralex.com>2016-08-30 08:40:03 +0200
commitcbea925b367535eb2652a2c8fa80b4cc746d95bd (patch)
treede51eeedff96401d16f19f409ed2a6f8b16aed82 /include
parente9a2d9e7be22b455c1597277c152379f732ce447 (diff)
convert SdrEdgeLineCode to scoped enum
Change-Id: Ibf84608461234e1df4114f72d9057f5697c5e3a3
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdhdl.hxx2
-rw-r--r--include/svx/svdoedge.hxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/svdhdl.hxx b/include/svx/svdhdl.hxx
index 78f1ebbed35d..896c66eb6ee1 100644
--- a/include/svx/svdhdl.hxx
+++ b/include/svx/svdhdl.hxx
@@ -382,7 +382,7 @@ class ImpEdgeHdl: public SdrHdl
virtual void CreateB2dIAObject() override;
public:
- ImpEdgeHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind),eLineCode(MIDDLELINE) {}
+ ImpEdgeHdl(const Point& rPnt, SdrHdlKind eNewKind): SdrHdl(rPnt,eNewKind),eLineCode(SdrEdgeLineCode::MiddleLine) {}
virtual ~ImpEdgeHdl();
void SetLineCode(SdrEdgeLineCode eCode);
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 3b910c688dbb..374c51811e01 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -78,7 +78,7 @@ public:
// Hilfsklasse SdrEdgeInfoRec
-enum SdrEdgeLineCode {OBJ1LINE2,OBJ1LINE3,OBJ2LINE2,OBJ2LINE3,MIDDLELINE};
+enum class SdrEdgeLineCode { Obj1Line2, Obj1Line3, Obj2Line2, Obj2Line3, MiddleLine };
class SdrEdgeInfoRec
{
@@ -95,9 +95,9 @@ public:
// Nachfolgende Werte werden von ImpCalcEdgeTrack gesetzt
long nAngle1; // Austrittswinkel am Obj1
long nAngle2; // Austrittswinkel am Obj2
- sal_uInt16 nObj1Lines; // 1..3
- sal_uInt16 nObj2Lines; // 1..3
- sal_uInt16 nMiddleLine; // 0xFFFF=keine, sonst Punktnummer des Linienbeginns
+ sal_uInt16 nObj1Lines; // 1..3
+ sal_uInt16 nObj2Lines; // 1..3
+ sal_uInt16 nMiddleLine; // 0xFFFF=keine, sonst Punktnummer des Linienbeginns
char cOrthoForm; // Form des Ortho-Verbindes, z.B. 'Z','U',I','L','S',...
public: