]> git.lyx.org Git - features.git/blobdiff - src/lyx_cb.C
make the graphics backround render ok + other stuff more changes than Id like at...
[features.git] / src / lyx_cb.C
index f3e35bfe5b58d5e8bb6e42f73d0c4dd653822a14..68e148cc0d54736324a42802d772a52d584dfcc3 100644 (file)
@@ -2736,13 +2736,7 @@ extern "C" void PrintCancelCB(FL_OBJECT *, long)
 static
 bool stringOnlyContains (string const & LStr, char const * cset)
 {
-#if 0
-       char const * cstr = LStr.c_str();
-
-       return strspn(cstr, cset) == strlen(cstr);
-#else
        return LStr.find_first_not_of(cset) == string::npos;
-#endif
 }