Kaydet (Commit) 723943b9 authored tarafından Cédric Bosdonnat's avatar Cédric Bosdonnat

More build fixes in editeng

üst 99b5f5ae
......@@ -1727,7 +1727,7 @@ sal_Bool
lcl_lineToSvxLine(const table::BorderLine& rLine, SvxBorderLine& rSvxLine, sal_Bool bConvert)
{
rSvxLine.SetColor( Color(rLine.Color));
rSvxLine.SetLinesWidth( rSvxLine.GetStyle(),
rSvxLine.SetLinesWidths( rSvxLine.GetStyle(),
sal_uInt16( bConvert ? MM100_TO_TWIP(rLine.InnerLineWidth) : rLine.InnerLineWidth ),
sal_uInt16( bConvert ? MM100_TO_TWIP(rLine.OuterLineWidth) : rLine.OuterLineWidth ),
sal_uInt16( bConvert ? MM100_TO_TWIP(rLine.LineDistance ) : rLine.LineDistance ));
......@@ -2223,7 +2223,8 @@ SfxPoolItem* SvxBoxItem::Create( SvStream& rStrm, sal_uInt16 nIVersion ) const
sal_uInt16 nOutline, nInline, _nDistance;
Color aColor;
rStrm >> aColor >> nOutline >> nInline >> _nDistance;
SvxBorderLine aBorder( &aColor, nOutline, nInline, _nDistance );
SvxBorderLine aBorder( &aColor );
aBorder.SetLinesWidths( SOLID, nInline, nOutline, _nDistance );
pAttr->SetLine( &aBorder, aLineMap[cLine] );
}
......@@ -2596,7 +2597,8 @@ SfxPoolItem* SvxBoxInfoItem::Create( SvStream& rStrm, sal_uInt16 ) const
short nOutline, nInline, nDistance;
Color aColor;
rStrm >> aColor >> nOutline >> nInline >> nDistance;
SvxBorderLine aBorder( &aColor, nOutline, nInline, nDistance );
SvxBorderLine aBorder( &aColor );
aBorder.SetLinesWidths( SOLID, nInline, nOutline, nDistance );
switch( cLine )
{
......
......@@ -553,7 +553,7 @@ String RID_DASHED
{
Text [ en-US ] = "Single, dashed" ;
};
String RID_SINGLE_DOUBLE
String RID_DOUBLE
{
Text [ en-US ] = "Double" ;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment