Show
Ignore:
Timestamp:
11/25/09 12:14:38 (15 years ago)
Author:
mido
Message:

ASTYLER RUN OVER THE WHOLE LIBRARY, JUPEE

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/user_info.cpp

    r735 r737  
    1515namespace bdm { 
    1616 
    17 string UIException::format_message( const string &reason, const string &path ) { 
     17string UIException::format_message ( const string &reason, const string &path ) { 
    1818        stringstream ss; 
    1919        ss << reason; 
     
    7878void UI::MappedUI::add_class ( const string &class_name, const type_info * const class_type_info, const UI* const ui ) { 
    7979        pair< StringToUIMap::iterator, bool> inres = 
    80                 mapped_strings().insert ( 
    81                         StringToUIMap::value_type( class_name, ui ) ); 
     80            mapped_strings().insert ( 
     81                StringToUIMap::value_type ( class_name, ui ) ); 
    8282        if ( inres.second ) { 
    8383                mapped_type_infos().insert ( 
    84                         TypeInfoToStringMap::value_type ( 
    85                                 class_type_info, class_name ) ); 
     84                    TypeInfoToStringMap::value_type ( 
     85                        class_type_info, class_name ) ); 
    8686        } 
    8787} 
     
    198198                       : element.add ( name, Setting::TypeList ); 
    199199 
    200                                    Setting &tag= set.add ( Setting::TypeString ); 
    201                                    tag ="matrix"; 
    202                                     
     200        Setting &tag = set.add ( Setting::TypeString ); 
     201        tag = "matrix"; 
     202 
    203203        Setting &cols = set.add ( Setting::TypeInt ); 
    204204        cols = matrix.cols(); 
     
    310310                from_setting ( matrix, link.result ); 
    311311 
    312                 if ( matrix.cols() != 1 && matrix.rows() != 1 && matrix.cols()!=0) 
     312                if ( matrix.cols() != 1 && matrix.rows() != 1 && matrix.cols() != 0 ) 
    313313                        throw UISettingException ( "UIException: the vector length is invalid, it seems to be rather a matrix.", link.result ); 
    314314