|
@@ -166,7 +166,7 @@ namespace OTSMODEL {
|
|
|
// reset property parameters
|
|
|
ResetPropertyParams();
|
|
|
|
|
|
- // ok, return TRUE
|
|
|
+ listGBFields.clear();
|
|
|
return TRUE;
|
|
|
}
|
|
|
void CReportMgr::ClearSmplResults()
|
|
@@ -259,7 +259,8 @@ namespace OTSMODEL {
|
|
|
|
|
|
CGBFieldList CReportMgr::GetAllGBFields(CPropParamPtr thePropParam)
|
|
|
{
|
|
|
- static CGBFieldList listGBFields;
|
|
|
+
|
|
|
+
|
|
|
if (listGBFields.size() == 0)
|
|
|
{
|
|
|
CGBCalculate GBCal(this);
|