}
-namespace {
-
-pair<int, docstring> const addDepth(int depth, int ldepth)
+static pair<int, docstring> addDepth(int depth, int ldepth)
{
int d = depth * 2;
if (ldepth > depth)
return make_pair(d, docstring(d, ' '));
}
-}
-
-
void writePlaintextParagraph(Buffer const & buf,
Paragraph const & par,
odocstream & os,
if (par.isInset(i)) {
OutputParams rp = runparams;
rp.depth = par.params().depth();
- int len = par.getInset(i)->plaintext(buf, os, rp);
+ int len = par.getInset(i)->plaintext(os, rp);
if (len >= Inset::PLAINTEXT_NEWLINE)
currlinelen = len - Inset::PLAINTEXT_NEWLINE;
else