summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-03 14:12:40 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:16 +0100
commit302b7b094d87184530af66be91fef91b6dce1d12 (patch)
tree1c69e85dd6292074f4678ac28e94afe6839e71fb /editeng
parentMore build fixes in editeng (diff)
downloadcore-302b7b094d87184530af66be91fef91b6dce1d12.tar.gz
core-302b7b094d87184530af66be91fef91b6dce1d12.zip
Fix border selector to use the new widths system
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/frmitems.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 05260db234d8..d088a8f28451 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -3203,7 +3203,8 @@ SfxPoolItem* SvxLineItem::Create( SvStream& rStrm, sal_uInt16 ) const
rStrm >> aColor >> nOutline >> nInline >> nDistance;
if( nOutline )
{
- SvxBorderLine aLine( &aColor, nOutline, nInline, nDistance );
+ SvxBorderLine aLine( &aColor );
+ aLine.SetLinesWidths( SOLID, nInline, nOutline, nDistance );
_pLine->SetLine( &aLine );
}
return _pLine;