diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-23 10:01:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-24 08:47:57 +0200 |
commit | f72baec784e9956702c429b8464c6d1b624e5481 (patch) | |
tree | b4a3954c0f165e65644b1fd2c687d72ca489ca80 /include/svx/sidebar | |
parent | dd64e9ea7a36e6169a4419ff3e737e2759df2625 (diff) |
convert ControlType to scoped enum
Change-Id: I0b307045c477ea50bd596c491b501b7e8ae91cd4
Diffstat (limited to 'include/svx/sidebar')
-rw-r--r-- | include/svx/sidebar/ValueSetWithTextControl.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/sidebar/ValueSetWithTextControl.hxx b/include/svx/sidebar/ValueSetWithTextControl.hxx index a168420dd71d..9e991555caa1 100644 --- a/include/svx/sidebar/ValueSetWithTextControl.hxx +++ b/include/svx/sidebar/ValueSetWithTextControl.hxx @@ -41,14 +41,14 @@ public: // control type of specialized <ValueSet>: // - image + text // - text + text - enum tControlType + enum class ControlType { - IMAGE_TEXT, - TEXT_TEXT + ImageText, + TextText }; ValueSetWithTextControl( - const tControlType eControlType, + const ControlType eControlType, vcl::Window* pParent, const ResId& rResId); @@ -86,7 +86,7 @@ private: typedef ::std::vector< ValueSetWithTextItem > tItemList; - const tControlType meControlType; + const ControlType meControlType; tItemList maItems; }; |