summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8atr.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-06-22 23:44:56 +0200
committerMichael Stahl <mstahl@redhat.com>2012-06-25 12:46:17 +0200
commit463e59d680467a7b0d30ae956935a444c513de9e (patch)
tree34691ff4b80743167e4c5ad5ca3517d8bf098204 /sw/source/filter/ww8/ww8atr.cxx
parent003b4d21a43b607fb754ca3a65746937cbcc20e9 (diff)
rename SvxBorderLine::SetStyle to something unambiguous
Change-Id: Iec70985319a64cdc3630e15499ac304a7f1aabae
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;
}