Salome HOME
Issue #1860: fix end lines with spaces
[modules/shaper.git] / src / ModuleBase / ModuleBase_OperationAction.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 /*
4  * ModuleBase_OperationAction.cpp
5  *
6  *  Created on: Apr 2, 2014
7  *      Author: sbh
8  */
9
10 #include "ModuleBase_OperationAction.h"
11
12 ModuleBase_OperationAction::ModuleBase_OperationAction(const QString& theId, QObject* theParent)
13  : ModuleBase_Operation(theId, theParent)
14 {
15 }
16
17 ModuleBase_OperationAction::~ModuleBase_OperationAction()
18 {
19 }
20
21 bool ModuleBase_OperationAction::commit()
22 {
23   // the action is supposed to perform a single modification,
24   // so the operation returns modified state
25   setIsModified(true);
26
27   return ModuleBase_Operation::commit();
28 }