summaryrefslogtreecommitdiff
path: root/include/svx/EnhancedCustomShape2d.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-29 13:16:59 +0200
committerNoel Grandin <noel@peralex.com>2016-08-30 08:40:03 +0200
commite27fbbcdf5fc1723297b22464d8291843f1b83a5 (patch)
treea3d6626041cdc8f9ebb88350279722defc5fc146 /include/svx/EnhancedCustomShape2d.hxx
parent2c86c131f77cfb70033ea83700dae7064c5127dd (diff)
convert ExpressionFunct to scoped enum
and drop the trivial subset of it EnumFunc Change-Id: I9ee7de829121f04e97c167b133cdc78c5ffd0822
Diffstat (limited to 'include/svx/EnhancedCustomShape2d.hxx')
-rw-r--r--include/svx/EnhancedCustomShape2d.hxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/include/svx/EnhancedCustomShape2d.hxx b/include/svx/EnhancedCustomShape2d.hxx
index c1f5ea99eb63..8ed9417af553 100644
--- a/include/svx/EnhancedCustomShape2d.hxx
+++ b/include/svx/EnhancedCustomShape2d.hxx
@@ -194,23 +194,7 @@ class SVX_DLLPUBLIC EnhancedCustomShape2d : public SfxItemSet
EnhancedCustomShape2d( SdrObject* pSdrObjCustomShape );
virtual ~EnhancedCustomShape2d();
- enum SAL_DLLPRIVATE EnumFunc
- {
- ENUM_FUNC_PI,
- ENUM_FUNC_LEFT,
- ENUM_FUNC_TOP,
- ENUM_FUNC_RIGHT,
- ENUM_FUNC_BOTTOM,
- ENUM_FUNC_XSTRETCH,
- ENUM_FUNC_YSTRETCH,
- ENUM_FUNC_HASSTROKE,
- ENUM_FUNC_HASFILL,
- ENUM_FUNC_WIDTH,
- ENUM_FUNC_HEIGHT,
- ENUM_FUNC_LOGWIDTH,
- ENUM_FUNC_LOGHEIGHT
- };
- SAL_DLLPRIVATE double GetEnumFunc( const EnumFunc eVal ) const;
+ SAL_DLLPRIVATE double GetEnumFunc( const EnhancedCustomShape::ExpressionFunct eVal ) const;
SAL_DLLPRIVATE double GetAdjustValueAsDouble( const sal_Int32 nIndex ) const;
SAL_DLLPRIVATE double GetEquationValueAsDouble( const sal_Int32 nIndex ) const;