summaryrefslogtreecommitdiffhomepage
path: root/Stars45/FormDef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/FormDef.cpp')
-rw-r--r--Stars45/FormDef.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/Stars45/FormDef.cpp b/Stars45/FormDef.cpp
index 77eb1ca..853003c 100644
--- a/Stars45/FormDef.cpp
+++ b/Stars45/FormDef.cpp
@@ -11,7 +11,6 @@
Form and Control Definition Resources
*/
-#include "MemDebug.h"
#include "FormDef.h"
#include "ParseUtil.h"
#include "DataLoader.h"
@@ -340,7 +339,7 @@ Text CtrlDef::GetItem(int i) const
void CtrlDef::AddItem(const char* t)
{
- items.append(new(__FILE__,__LINE__) Text(t));
+ items.append(new Text(t));
}
int CtrlDef::NumColumns() const
@@ -360,7 +359,7 @@ ColumnDef* CtrlDef::GetColumn(int i) const
void CtrlDef::AddColumn(const char* t, int w, int a, int s)
{
- columns.append(new(__FILE__,__LINE__) ColumnDef(t,w,a,s));
+ columns.append(new ColumnDef(t,w,a,s));
}
int CtrlDef::NumTabs() const
@@ -581,7 +580,7 @@ FormDef::Load(const char* fname)
if (!block || blocklen < 4)
return;
- Parser parser(new(__FILE__,__LINE__) BlockReader((const char*) block, blocklen));
+ Parser parser(new BlockReader((const char*) block, blocklen));
Term* term = parser.ParseTerm();
if (!term) {
@@ -755,7 +754,7 @@ FormDef::Load(const char* fname)
Print("WARNING: ctrl structure missing in '%s'\n", filename);
}
else {
- CtrlDef* ctrl = new(__FILE__,__LINE__) CtrlDef;
+ CtrlDef* ctrl = new CtrlDef;
TermStruct* val = pdef->term()->isStruct();
form->AddCtrl(ctrl);