diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-02-03 18:49:56 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-02-07 21:47:04 +0100 |
commit | 511a92733bcf970e4154833a352d565bd3167e26 (patch) | |
tree | 06269508e78c4798edcee7a258bf9d4eb17f267d | |
parent | 862da84672d7251099d996611811de8b43e8bc82 (diff) |
fdo#45115: SwXTextTable: fix setting borders
This plus e549f52f16c4a519ed3eddb9c66c19bacc247590 fixes the problem.
(cherry picked from commit ef9881001e4ddfa6bfbe7d83f482393bb76d926a)
Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sw/source/core/unocore/unotbl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx index 5adc78173eb0..0078bd7d211d 100644 --- a/sw/source/core/unocore/unotbl.cxx +++ b/sw/source/core/unocore/unotbl.cxx @@ -137,7 +137,7 @@ sal_Bool lcl_LineToSvxLine(const table::BorderLine& rLine, SvxBorderLine& rSvxLi { rSvxLine.SetColor(Color(rLine.Color)); - rSvxLine.GuessLinesWidths( editeng::SvxBorderStyle(table::BorderLineStyle::SOLID), + rSvxLine.GuessLinesWidths( editeng::NO_STYLE, MM100_TO_TWIP( rLine.OuterLineWidth ), MM100_TO_TWIP( rLine.InnerLineWidth ), MM100_TO_TWIP( rLine.LineDistance ) ); |