diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-02-03 21:06:18 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-02-07 22:46:07 +0100 |
commit | f7adca07343b804efc4e42bed2b4a8d789e58db3 (patch) | |
tree | 7bc13b3d2f3fd16d75720442ca41439634ef079b | |
parent | aa751a108b52eee3a26deb6940cc92b498f6251a (diff) |
fdo#45115: sc: fix setting borders
Same problem in ScHelperFunctions::GetBorderLine.
Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 63ba3efc5..4c5c5c57c 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -953,8 +953,7 @@ ScSubTotalFunc lcl_SummaryToSubTotal( sheet::GeneralFunction eSummary ) const ::editeng::SvxBorderLine* ScHelperFunctions::GetBorderLine( ::editeng::SvxBorderLine& rLine, const table::BorderLine& rStruct ) { // Calc needs Twips, and there are 1/100mm in the Uno structure - rLine.SetStyle( ::editeng::SvxBorderStyle( table::BorderLineStyle::SOLID ) ); - rLine.GuessLinesWidths( rLine.GetStyle(), + rLine.GuessLinesWidths( editeng::NO_STYLE, (sal_uInt16)HMMToTwips( rStruct.OuterLineWidth ), (sal_uInt16)HMMToTwips( rStruct.InnerLineWidth ), (sal_uInt16)HMMToTwips( rStruct.LineDistance ) ); |