diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-23 14:10:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-24 08:47:57 +0200 |
commit | 27caeb631927a3e9dd8510768535afcd8f393773 (patch) | |
tree | 05b975dd555bab7aa2fe2212d74281551fbe6dd7 /include/svx/ruler.hxx | |
parent | 70d76c8165bc9393a92fa6d0dc9922364988abe2 (diff) |
convert UpdateType to scoped enum
Change-Id: I1000875c186ee21d065e97b522f464ed6b635758
Diffstat (limited to 'include/svx/ruler.hxx')
-rw-r--r-- | include/svx/ruler.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/ruler.hxx b/include/svx/ruler.hxx index ebfc956e3ecc..ca444886856d 100644 --- a/include/svx/ruler.hxx +++ b/include/svx/ruler.hxx @@ -218,13 +218,13 @@ class SVX_DLLPUBLIC SvxRuler: public Ruler, public SfxListener DECL_LINK_TYPED( MenuSelect, Menu *, bool ); void PrepareProportional_Impl(RulerType); - enum UpdateType + enum class UpdateType { - MOVE_ALL, - MOVE_LEFT, - MOVE_RIGHT + MoveAll, + MoveLeft, + MoveRight }; - void UpdateParaContents_Impl(long lDiff, UpdateType = MOVE_ALL); + void UpdateParaContents_Impl(long lDiff, UpdateType = UpdateType::MoveAll); protected: virtual void Command( const CommandEvent& rCEvt ) override; |