This saves a few chars.

Ok to apply?

Andre'
Index: LaTeXFeatures.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/LaTeXFeatures.C,v
retrieving revision 1.73
diff -u -p -r1.73 LaTeXFeatures.C
--- LaTeXFeatures.C     4 Nov 2002 02:12:28 -0000       1.73
+++ LaTeXFeatures.C     12 Nov 2002 08:29:46 -0000
@@ -91,10 +91,7 @@ void LaTeXFeatures::useLayout(string con
 
 bool LaTeXFeatures::isRequired(string const & name) const
 {
-       FeaturesList::const_iterator i = find(features.begin(),
-                                             features.end(),
-                                             name);
-       return i != features.end();
+       return find(features.begin(), features.end(), name) != features.end();
 }
 
 

Reply via email to