[GME-commit] GMESRC/GME/Mga MgaFCO.cpp,1.28,1.29
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Mon Mar 29 11:51:17 CST 2004
- Previous message: [GME-commit]
GMESRC/GME/Gme PannWinDlg.h,NONE,1.1 PannWinDlg.cpp,NONE,1.1
PanningWindow.h,NONE,1.1 PanningWindow.cpp,NONE,1.1
PannButton.h,NONE,1.1
- Next message: [GME-commit] GMESRC/GME/Gme GMEView.cpp,1.137,1.138
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/gme/GMESRC/GME/Mga
In directory braindrain:/tmp/cvs-serv15107
Modified Files:
MgaFCO.cpp
Log Message:
Modifications to the FCO::CreateCollection() method (else branch contained a bug: created collection had not been returned in *pval).
Modified Files:
MgaFCO.cpp
CVS User: zolmol
Index: MgaFCO.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/GME/Mga/MgaFCO.cpp,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** MgaFCO.cpp 14 Jan 2003 21:00:00 -0000 1.28
--- MgaFCO.cpp 29 Mar 2004 17:51:06 -0000 1.29
***************
*** 430,438 ****
q.Attach(static_cast< COLLECTIONTYPE_FOR(IMgaFCO) *>(*pVal));
q->Add(tthis);
! *pVal = q.Detach();
}
else {
CREATEEXCOLLECTION_FOR(MgaFCO,q2)
COMTHROW(q2->Append(tthis));
}
} COMCATCH(;);
--- 430,439 ----
q.Attach(static_cast< COLLECTIONTYPE_FOR(IMgaFCO) *>(*pVal));
q->Add(tthis);
! /* *pVal = */q.Detach(); // modified by ZolMol
}
else {
CREATEEXCOLLECTION_FOR(MgaFCO,q2)
COMTHROW(q2->Append(tthis));
+ *pVal = q2.Detach(); // added by ZolMol
}
} COMCATCH(;);
- Previous message: [GME-commit]
GMESRC/GME/Gme PannWinDlg.h,NONE,1.1 PannWinDlg.cpp,NONE,1.1
PanningWindow.h,NONE,1.1 PanningWindow.cpp,NONE,1.1
PannButton.h,NONE,1.1
- Next message: [GME-commit] GMESRC/GME/Gme GMEView.cpp,1.137,1.138
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the GME-commit
mailing list