* src/insets/InsetTabular.{cpp, h}:

- Abdelize fix for bug 4147.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21356 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2007-11-01 18:41:51 +00:00
parent a5a3da0de3
commit 77d1135988
2 changed files with 4 additions and 2 deletions

View File

@ -2750,7 +2750,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(columns_);
@ -2794,6 +2794,8 @@ void Tabular::plaintext(Buffer const & buf, odocstream & os,
if (isPartOfMultiColumn(i, j))
continue;
if (onlydata && j > 0)
// 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);

View File

@ -357,7 +357,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;
///