]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.C
* BufferParams:
[lyx.git] / src / insets / insettabular.C
index 2da47e7480d9e5ded78ece1d1d620bf1b4286a4c..eaa5a72488f83268c9d9017e097547b0388473ea 100644 (file)
@@ -1105,7 +1105,7 @@ int InsetTabular::plaintext(Buffer const & buf, odocstream & os,
        os << '\n'; // output table on a new line
        int const dp = runparams.linelen > 0 ? runparams.depth : 0;
        tabular.plaintext(buf, os, runparams, dp, false, 0);
-       return runparams.linelen; // start with column 0 in new line
+       return PLAINTEXT_NEWLINE;
 }
 
 
@@ -1828,7 +1828,7 @@ bool InsetTabular::copySelection(LCursor & cur)
                                    true, true);
 
        odocstringstream os;
-       OutputParams const runparams;
+       OutputParams const runparams(0);
        paste_tabular->plaintext(cur.buffer(), os, runparams, 0, true, '\t');
        // Needed for the "Edit->Paste recent" menu and the system clipboard.
        cap::copySelection(cur, os.str());