summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8atr.cxx')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index bd24598b87f9..09c5592af9f8 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -4074,7 +4074,7 @@ WW8_BRC WW8Export::TranslateBorderLine(const SvxBorderLine& rLine,
{
// All the border types values are available on
// http://msdn.microsoft.com/en-us/library/dd908142%28v=office.12%29.aspx
- switch ( rLine.GetStyle( ) )
+ switch (rLine.GetSvxBorderStyle())
{
case ::editeng::SOLID:
{
@@ -4146,9 +4146,9 @@ WW8_BRC WW8Export::TranslateBorderLine(const SvxBorderLine& rLine,
nWidth = ( nWidth + 7 ) / 15;
if( nWidth > 5 )
nWidth = 5;
- if ( ::editeng::DOTTED == rLine.GetStyle( ) )
+ if ( ::editeng::DOTTED == rLine.GetSvxBorderStyle() )
nWidth = 6;
- else if ( ::editeng::DASHED == rLine.GetStyle( ) )
+ else if ( ::editeng::DASHED == rLine.GetSvxBorderStyle() )
nWidth = 7;
}