diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-18 14:32:13 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-19 08:18:37 +0200 |
commit | 178153e8220aa3bf29078f6df4ed6acd0b2f61e4 (patch) | |
tree | 7c42b2bc53c9d70e0029568a727504f92fd259e1 /include | |
parent | 6078d593fa27eab2035d97e7ef69872564e30f60 (diff) |
convert SdrUserCallType to scoped enum
Change-Id: I0121b17242faee4238d82836453cec695f508db0
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdobj.hxx | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index b17dc91df4b2..7ac2c7ad14ba 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -141,20 +141,22 @@ enum SdrObjKind { OBJ_MAXI }; -enum SdrUserCallType {SDRUSERCALL_MOVEONLY, // only moved, size unchanged - SDRUSERCALL_RESIZE, // size and maybe position changed - SDRUSERCALL_CHGATTR, // attribute changed. Eventually new size, because of line width - SDRUSERCALL_DELETE, // object is going to be deleted soon, no attributes anymore - SDRUSERCALL_COPY, // assign operator called, everything can be changed - SDRUSERCALL_INSERTED, // inserted into an object list (e.g. Page) - SDRUSERCALL_REMOVED, // removed from an object list - SDRUSERCALL_CHILD_MOVEONLY, // a child within a group has changed - SDRUSERCALL_CHILD_RESIZE, // a child within a group has changed - SDRUSERCALL_CHILD_CHGATTR, // a child within a group has changed - SDRUSERCALL_CHILD_DELETE, // a child within a group has changed - SDRUSERCALL_CHILD_COPY, // a child within a group has changed - SDRUSERCALL_CHILD_INSERTED, // a child within a group has changed - SDRUSERCALL_CHILD_REMOVED}; // a child within a group has changed +enum class SdrUserCallType { + MoveOnly, // only moved, size unchanged + Resize, // size and maybe position changed + ChangeAttr, // attribute changed. Eventually new size, because of line width + Delete, // object is going to be deleted soon, no attributes anymore + Copy, // assign operator called, everything can be changed + Inserted, // inserted into an object list (e.g. Page) + Removed, // removed from an object list + ChildMoveOnly, // a child within a group has changed + ChildResize, // a child within a group has changed + ChildChangeAttr, // a child within a group has changed + ChildDelete, // a child within a group has changed + ChildCopy, // a child within a group has changed + ChildInserted, // a child within a group has changed + ChildRemoved // a child within a group has changed +}; class SVX_DLLPUBLIC SdrObjUserCall { |