diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-18 08:47:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-18 08:49:02 +0200 |
commit | 6fdfa13a096c55f5038c4a850cfb108d30143d4b (patch) | |
tree | 0c895f66159d0d7828a72e4d0a5f988205a8160e /include | |
parent | 55b74b454f4fceccfc05406b44919a5276e0b3ae (diff) |
convert SdrCaptionEscDir to scoped enum
Change-Id: Iec6dfbdc65efde86ff24ddc51c48eb697bf4ead1
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sxcecitm.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/sxcecitm.hxx b/include/svx/sxcecitm.hxx index 22e6024b004f..ba11540ceb16 100644 --- a/include/svx/sxcecitm.hxx +++ b/include/svx/sxcecitm.hxx @@ -25,14 +25,14 @@ #include <svx/sdmetitm.hxx> #include <svx/svxdllapi.h> -enum SdrCaptionEscDir {SDRCAPT_ESCHORIZONTAL,SDRCAPT_ESCVERTICAL,SDRCAPT_ESCBESTFIT}; +enum class SdrCaptionEscDir { Horizontal, Vertical, BestFit }; // class SdrCaptionEscDirItem class SVX_DLLPUBLIC SdrCaptionEscDirItem: public SfxEnumItem { public: - SdrCaptionEscDirItem(SdrCaptionEscDir eDir=SDRCAPT_ESCHORIZONTAL): SfxEnumItem(SDRATTR_CAPTIONESCDIR,sal::static_int_cast< sal_uInt16 >(eDir)) {} + SdrCaptionEscDirItem(SdrCaptionEscDir eDir=SdrCaptionEscDir::Horizontal): SfxEnumItem(SDRATTR_CAPTIONESCDIR,sal::static_int_cast< sal_uInt16 >(eDir)) {} SdrCaptionEscDirItem(SvStream& rIn) : SfxEnumItem(SDRATTR_CAPTIONESCDIR,rIn) {} virtual SfxPoolItem* Clone(SfxItemPool* pPool=nullptr) const override; virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nVer) const override; |