Andre Poenitz <[EMAIL PROTECTED]> writes:

| Some more #ifdef BOOST_FORMAT -> bformat consolidation.
| 
| Andre'
| 
| -- 
| Those who desire to give up Freedom in order to gain Security, will not have,
| nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)
| 
| Index: ColorHandler.C
| ===================================================================
| RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ColorHandler.C,v
| retrieving revision 1.12
| diff -u -p -r1.12 ColorHandler.C
| --- ColorHandler.C    14 May 2003 09:17:19 -0000      1.12
| +++ ColorHandler.C    30 Jun 2003 10:27:41 -0000
| @@ -17,7 +17,8 @@
|  #include "debug.h"
|  
|  #include <boost/scoped_array.hpp>
| -#include "support/BoostFormat.h"
| +#include "support/tostr.h"
| +#include "support/lstrings.h"
|  
|  #include <cmath>
|  
| @@ -29,6 +30,17 @@ using std::endl;
|  
|  #include "lyx_forms.h"
|  
| +namespace {
| +
| +     string tostr(XColor const & col)
| +     {
| +             return bformat("(%1$s,%2$s,%3$s)",
| +                     ::tostr(col.red), ::tostr(col.green),
| ::tostr(col.blue));

why is the :: usefull?


-- 
        Lgb

Reply via email to