summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/swhtml.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/swhtml.cxx')
-rw-r--r--sw/source/filter/html/swhtml.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/source/filter/html/swhtml.cxx b/sw/source/filter/html/swhtml.cxx
index 703cef0be78d..a3d4ae502266 100644
--- a/sw/source/filter/html/swhtml.cxx
+++ b/sw/source/filter/html/swhtml.cxx
@@ -5245,7 +5245,9 @@ void SwHTMLParser::InsertHorzRule()
long nPHeight = (long)nSize;
SvxCSS1Parser::PixelToTwip( nPWidth, nPHeight );
if ( !bNoShade )
- aBorderLine.SetStyle( ::editeng::DOUBLE );
+ {
+ aBorderLine.SetSvxBorderStyle( ::editeng::DOUBLE );
+ }
aBorderLine.SetWidth( nPHeight );
}
else if( bNoShade )
@@ -5254,7 +5256,7 @@ void SwHTMLParser::InsertHorzRule()
}
else
{
- aBorderLine.SetStyle( ::editeng::DOUBLE );
+ aBorderLine.SetSvxBorderStyle( ::editeng::DOUBLE );
aBorderLine.SetWidth( DEF_LINE_WIDTH_0 );
}