From: stephan b. <sg...@us...> - 2004-12-26 13:11:11
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27708/include/pclasses/Util Modified Files: StringTool.h Log Message: Reversed the order of the args for expandDollarRefs*(), for consistency with translateEntities(). Index: StringTool.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Util/StringTool.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- StringTool.h 26 Dec 2004 12:19:15 -0000 1.4 +++ StringTool.h 26 Dec 2004 13:11:01 -0000 1.5 @@ -306,7 +306,7 @@ be the same as the original. */ - std::string expandDollarRefs( const EntityMap & src, const std::string & text ); + std::string expandDollarRefs( const std::string & text, const EntityMap & src ); /** Parsed env vars out of buffer, replacing them with their @@ -348,7 +348,7 @@ a slash, the slash is stripped even if the $ does not expand to anything. This is arguably behaviour. */ - size_t expandDollarRefsInline( const EntityMap & src, std::string & buffer ); + size_t expandDollarRefsInline( std::string & buffer, const EntityMap & src ); |