- if ( theCommandID == 5011 )
- anOperation = FUSE;
- else if ( theCommandID == 5012 )
- anOperation = COMMON;
- else if ( theCommandID == 5013 )
- anOperation = CUT;
- else if ( theCommandID == 5014 )
- anOperation = SECTION;
- else
+ switch ( theCommandID ) {
+ case GEOMOp::OpFuse:
+ anOperation = FUSE; break;
+ case GEOMOp::OpCommon:
+ anOperation = COMMON; break;
+ case GEOMOp::OpCut:
+ anOperation = CUT; break;
+ case GEOMOp::OpSection:
+ anOperation = SECTION; break;
+ default: