Update of /cvsroot/kuml/kuml/kuml_gui/src/ige/common/editors
In directory usw-pr-cvs1:/tmp/cvs-serv11293
Modified Files:
AbstractEditor.cpp
Log Message:
Fixed usage of STL strings
Index: AbstractEditor.cpp
===================================================================
RCS file: /cvsroot/kuml/kuml/kuml_gui/src/ige/common/editors/AbstractEditor.cpp,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** AbstractEditor.cpp 2001/06/20 19:21:19 1.1.1.1
--- AbstractEditor.cpp 2001/07/18 14:19:31 1.2
***************
*** 91,97 ****
}
void AbstractEditor::execute(EditorCommand* cmd) {
- debug(string("Editor is executing command: " + cmd->getDescription()).begin());
-
CHECK_PTR(cmd);
cmd->execute(this);
commandHistory.push(cmd);
--- 91,98 ----
}
void AbstractEditor::execute(EditorCommand* cmd) {
CHECK_PTR(cmd);
+
+ debug(string("Editor is executing command: " + cmd->getDescription()).c_str());
+
cmd->execute(this);
commandHistory.push(cmd);
***************
*** 99,107 ****
}
void AbstractEditor::undo(){
-
EditorCommand *cmd = commandHistory.pop();
CHECK_PTR(cmd);
! debug(string("Editor is undoing command: " + cmd->getDescription()).begin());
cmd->undo();
delete cmd;
--- 100,108 ----
}
void AbstractEditor::undo(){
EditorCommand *cmd = commandHistory.pop();
CHECK_PTR(cmd);
!
! debug(string("Editor is undoing command: " + cmd->getDescription()).c_str());
cmd->undo();
delete cmd;
|