mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
Fix bug 4147.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21344 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
0803d07b39
commit
36e14ceb10
@ -2730,7 +2730,7 @@ void Tabular::plaintextPrintCell(Buffer const & buf, odocstream & os,
|
||||
|
||||
void Tabular::plaintext(Buffer const & buf, odocstream & os,
|
||||
OutputParams const & runparams, int const depth,
|
||||
bool onlydata, unsigned char delim) const
|
||||
bool onlydata, char_type delim) const
|
||||
{
|
||||
// first calculate the width of the single columns
|
||||
vector<unsigned int> clen(columnCount());
|
||||
@ -2774,7 +2774,9 @@ void Tabular::plaintext(Buffer const & buf, odocstream & os,
|
||||
if (isPartOfMultiColumn(i, j))
|
||||
continue;
|
||||
if (onlydata && j > 0)
|
||||
os << delim;
|
||||
// we don't use operator<< for single UCS4 character.
|
||||
// see explanation in docstream.h
|
||||
os.put(delim);
|
||||
plaintextPrintCell(buf, os, runparams,
|
||||
cell, i, j, clen, onlydata);
|
||||
++cell;
|
||||
|
@ -359,7 +359,7 @@ public:
|
||||
///
|
||||
void plaintext(Buffer const &, odocstream &,
|
||||
OutputParams const & runparams, int const depth,
|
||||
bool onlydata, unsigned char delim) const;
|
||||
bool onlydata, char_type delim) const;
|
||||
///
|
||||
bool isMultiColumn(idx_type cell) const;
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user