"running the conversion script."));
return false;
}
- istringstream is(ret.second);
+ istringstream is(STRCONV(ret.second));
LyXLex tmplex(0, 0);
tmplex.setStream(is);
return readFile(tmplex, string());
}
}
buffer << word;
- return buffer.str().c_str();
+ return STRCONV(buffer.str());
}
options << params.options << ',';
}
- string strOptions(options.str().c_str());
+ string strOptions(STRCONV(options.str()));
if (!strOptions.empty()) {
strOptions = rtrim(strOptions, ",");
os << '[' << strOptions << ']';
if (!lyxrc.language_global_options
&& tmp == "\\usepackage{babel}")
tmp = string("\\usepackage[") +
- language_options.str().c_str() +
+ STRCONV(language_options.str()) +
"]{babel}";
preamble += tmp + "\n";
preamble += features.getBabelOptions();
return ParIterator();
}
+ParConstIterator Buffer::par_iterator_begin() const
+{
+ return ParConstIterator(&*(paragraphs.begin()));
+}
+
+
+ParConstIterator Buffer::par_iterator_end() const
+{
+ return ParConstIterator();
+}
+
+
void Buffer::addUser(BufferView * u)
{