diff options
author | Andras Timar <andras.timar@collabora.com> | 2015-11-04 16:08:32 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2015-11-09 15:14:16 +0100 |
commit | dad32b63f852716af94cf995696b62b6e60724bd (patch) | |
tree | 16f3faeed39c288b3864fa550c6cd861a9fb4bd9 /sw/source/filter/ww8/ww8par.cxx | |
parent | 18cd4b273f3781620ecb8dd68e6d616bba498992 (diff) |
This reverts commit 959ac511dbebeb3983da92052ced837b39b74ed9.
Diffstat (limited to 'sw/source/filter/ww8/ww8par.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par.cxx | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx index 0886debc7155..903f944535ac 100644 --- a/sw/source/filter/ww8/ww8par.cxx +++ b/sw/source/filter/ww8/ww8par.cxx @@ -3530,24 +3530,11 @@ bool SwWW8ImplReader::ReadChar(long nPosCp, long nCpOfs) } break; case 0x7: - { - bNewParaEnd = true; - WW8PLCFxDesc* pPap = m_pPlcxMan->GetPap(); - //The last paragraph of each cell is terminated by a special - //paragraph mark called a cell mark. Following the cell mark - //that ends the last cell of a table row, the table row is - //terminated by a special paragraph mark called a row mark - // - //So the 0x7 should be right at the end of the previous - //range to be a real cell-end. - if (pPap->nOrigStartPos == nCpOfs+nPosCp+1 || - pPap->nOrigStartPos == WW8_CP_MAX) - { - TabCellEnd(); // Table cell/row end - } - else - bParaMark = true; - } + bNewParaEnd = true; + if (m_pPlcxMan->GetPapPLCF()->Where() == nCpOfs+nPosCp+1) + TabCellEnd(); // Table cell/row end + else + bParaMark = true; break; case 0xf: if( !m_bSpec ) // "Satellite" |