}
+#if 0
idocstream & operator>>(idocstream & is, Correction & corr)
{
corr.read(is);
corr.write(os);
return os;
}
-
+#endif
string line;
ifstream is(file.toFilesystemEncoding().c_str());
while (getline(is, line)) {
- if (line.size() == 0 || line[0] == '#') {
+ if (line.empty() || line[0] == '#') {
//LYXERR(Debug::MATHED, "ignoring line '" << line << '\'');
continue;
}
} // namespace anon
-bool math_autocorrect(MathAtom & at, char c)
+bool math_autocorrect(MathAtom & at, char_type c)
{
static bool initialized = false;