From: stephan b. <sg...@us...> - 2004-12-26 13:11:11
|
Update of /cvsroot/pclasses/pclasses2/src/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27708/src/Util Modified Files: StringTool.cpp Log Message: Reversed the order of the args for expandDollarRefs*(), for consistency with translateEntities(). Index: StringTool.cpp =================================================================== RCS file: /cvsroot/pclasses/pclasses2/src/Util/StringTool.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- StringTool.cpp 26 Dec 2004 12:18:09 -0000 1.4 +++ StringTool.cpp 26 Dec 2004 13:11:02 -0000 1.5 @@ -233,15 +233,15 @@ } std::string - expandDollarRefs( const EntityMap & src, const std::string & text ) + expandDollarRefs( const std::string & text, const EntityMap & src ) { std::string foo = text; - expandDollarRefsInline( src, foo ); + expandDollarRefsInline( foo, src ); return foo; } size_t - expandDollarRefsInline( const EntityMap & src, std::string & buffer ) + expandDollarRefsInline( std::string & buffer, const EntityMap & src ) { using std::string; //CERR << "environment::expand_vars(["<<buffer<<"])"<<std::endl; |