summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-19 12:53:25 +0200
committerNoel Grandin <noel@peralex.com>2016-08-22 08:24:48 +0200
commitb6d5719d06190f01e43ed11b190c61fa9612de05 (patch)
tree9c176cadaaea8f95a24fe4971ae98e79b02a483f /include
parent8a5c2586dc4f6854f8155331aad1c3fb2d54462f (diff)
convert DefaultType to scoped enum
Change-Id: Ib5c596bf8f2493cbc6f95530f2b3cd9ef7ab4156
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdoashp.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx
index 8bf0037c3e87..2d5ba46993bb 100644
--- a/include/svx/svdoashp.hxx
+++ b/include/svx/svdoashp.hxx
@@ -169,17 +169,17 @@ public:
void MergeDefaultAttributes( const OUString* pType = nullptr );
/* the method is checking if the geometry data is unchanged/default, in this case the data might not be stored */
- enum DefaultType
+ enum class DefaultType
{
- DEFAULT_PATH,
- DEFAULT_VIEWBOX,
- DEFAULT_SEGMENTS,
- DEFAULT_GLUEPOINTS,
- DEFAULT_STRETCHX,
- DEFAULT_STRETCHY,
- DEFAULT_EQUATIONS,
- DEFAULT_HANDLES,
- DEFAULT_TEXTFRAMES
+ Path,
+ Viewbox,
+ Segments,
+ Gluepoints,
+ StretchX,
+ StretchY,
+ Equations,
+ Handles,
+ TextFrames
};
bool IsDefaultGeometry( const DefaultType eDefaultType ) const;