Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23742/src/classes

Modified Files:
        Profile.cpp 
Log Message:
check that we have config source before using it

Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.157
retrieving revision 1.158
diff -b -u -2 -r1.157 -r1.158
--- Profile.cpp 16 Mar 2004 00:00:58 -0000      1.157
+++ Profile.cpp 30 Mar 2004 18:16:21 -0000      1.158
@@ -1518,4 +1518,7 @@
    PCHECK();
 
+   CHECK( gs_allConfigSources, false,
+               _T("can't call Profile methods before CreateGlobalConfig()") );
+
    // did we find the requested data in this profile?
    bool foundHere = false;



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to