- Timestamp:
- 03/21/12 18:36:20 (15 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgPlugins/txp/trpage_label.cpp
r12538 r13041 204 204 return false; 205 205 206 if (bold != in.bold || 207 italic != in.italic || 206 if (bold != in.bold || 207 italic != in.italic || 208 208 underline != in.underline) 209 209 return false; … … 239 239 //for (int i=0;i<styles.size();i++) 240 240 StyleMapType::const_iterator itr = styleMap.begin(); 241 for ( ; itr != styleMap.end( ); itr++) 241 for ( ; itr != styleMap.end( ); itr++) 242 242 if (!itr->second.isValid()) 243 243 return false; … … 259 259 { 260 260 StyleMapType::const_iterator itr = styleMap.begin(); 261 for ( ; itr != styleMap.end( ); itr++) 261 for ( ; itr != styleMap.end( ); itr++) 262 262 if (itr->second == style) 263 263 return itr->first; … … 505 505 { 506 506 SupportStyleMapType::const_iterator itr = supportStyleMap.begin(); 507 for ( ; itr != supportStyleMap.end( ); itr++) 507 for ( ; itr != supportStyleMap.end( ); itr++) 508 508 if (itr->second == style) 509 509 return itr->first; … … 540 540 // Write the styles 541 541 SupportStyleMapType::iterator itr = supportStyleMap.begin(); 542 for ( ; itr != supportStyleMap.end( ); itr++) 542 for ( ; itr != supportStyleMap.end( ); itr++) 543 543 itr->second.Write(buf); 544 544
