diff options
author | Michael Brauer <mib@openoffice.org> | 2000-12-13 08:31:49 +0000 |
---|---|---|
committer | Michael Brauer <mib@openoffice.org> | 2000-12-13 08:31:49 +0000 |
commit | 7c9b11865e6d7162e9426979c7686b69298cfa4f (patch) | |
tree | 875b20175a3f48c8b68b8ac8e4434d8b789c9d04 /sw/source/filter | |
parent | 8f9b6aba44c82885f6ee49bea3736b97003ce61f (diff) |
#74222#: Don't switch off whole border if a cell contains a sub table
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/writer/wrtswtbl.cxx | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/sw/source/filter/writer/wrtswtbl.cxx b/sw/source/filter/writer/wrtswtbl.cxx index 308c191c48e4..6a03755d248b 100644 --- a/sw/source/filter/writer/wrtswtbl.cxx +++ b/sw/source/filter/writer/wrtswtbl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: wrtswtbl.cxx,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: hr $ $Date: 2000-09-18 17:14:57 $ + * last change: $Author: mib $ $Date: 2000-12-13 09:31:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -743,13 +743,16 @@ void SwWriteTable::FillTableRowsCols( long nStartRPos, USHORT nStartRow, nBottomBorder < pEndRow->nBottomBorder ) pEndRow->nBottomBorder = nBottomBorder; } - else - { - aCols[nOldCol]->bLeftBorder = FALSE; - aCols[nCol]->bRightBorder = FALSE; - pRow->bTopBorder = FALSE; - pEndRow->bBottomBorder = FALSE; - } +// MIB: 13.12.2000: Why should a cell that contains a subtable +// not have borders? Moreover, switching them, off switches off +// the fill border lines between the columns and rows. (#74222#) +// else +// { +// aCols[nOldCol]->bLeftBorder = FALSE; +// aCols[nCol]->bRightBorder = FALSE; +// pRow->bTopBorder = FALSE; +// pEndRow->bBottomBorder = FALSE; +// } } else { @@ -940,11 +943,14 @@ SwWriteTable::SwWriteTable( const SwHTMLTableLayout *pLayoutInfo ) Source Code Control System - Header - $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/writer/wrtswtbl.cxx,v 1.1.1.1 2000-09-18 17:14:57 hr Exp $ + $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/writer/wrtswtbl.cxx,v 1.2 2000-12-13 09:31:49 mib Exp $ Source Code Control System - Update $Log: not supported by cvs2svn $ + Revision 1.1.1.1 2000/09/18 17:14:57 hr + initial import + Revision 1.3 2000/09/18 16:04:55 willem.vandorp OpenOffice header added. |