summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww1
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-03 21:26:13 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-04 17:55:45 +0200
commit8b4593948582c3b5b3d013bd751bb19ffd37a31b (patch)
treed12df351290b85abc5b55440106560aca3bad8e8 /sw/source/filter/ww1
parent8dd6a23b6b44902d1c1ae4e24360463ffcf1015d (diff)
replace enum SvxBorderStyle with css::table::BorderLineSyle
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
Diffstat (limited to 'sw/source/filter/ww1')
-rw-r--r--sw/source/filter/ww1/w1sprm.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/ww1/w1sprm.cxx b/sw/source/filter/ww1/w1sprm.cxx
index 6c7bd759ac0d..7cd9bb9426ba 100644
--- a/sw/source/filter/ww1/w1sprm.cxx
+++ b/sw/source/filter/ww1/w1sprm.cxx
@@ -206,7 +206,7 @@ STOP1(Ww1SingleSprmPPageBreakBefore, RES_BREAK)
SvxBorderLine* Ww1SingleSprmPBrc::SetBorder(SvxBorderLine* pLine, W1_BRC10* pBrc)
{
sal_uInt16 nCode;
- ::editeng::SvxBorderStyle eStyle = ::editeng::SOLID;
+ ::editeng::SvxBorderStyle eStyle = table::BorderLineStyle::SOLID;
if(pBrc->dxpLine2WidthGet() == 0)
{
switch(pBrc->dxpLine1WidthGet())
@@ -220,21 +220,21 @@ SvxBorderLine* Ww1SingleSprmPBrc::SetBorder(SvxBorderLine* pLine, W1_BRC10* pBrc
case 5: nCode = DEF_LINE_WIDTH_4; break;
case 6:
nCode = DEF_LINE_WIDTH_5;
- eStyle = ::editeng::DOTTED;
+ eStyle = table::BorderLineStyle::DOTTED;
break;
case 7:
nCode = DEF_LINE_WIDTH_5;
- eStyle = ::editeng::DASHED;
+ eStyle = table::BorderLineStyle::DASHED;
break;
}
pLine->SetWidth( nCode );
- pLine->SetSvxBorderStyle( eStyle );
+ pLine->SetBorderLineStyle( eStyle );
}
else
{
if ( pBrc->dxpLine1WidthGet() == 1 && pBrc->dxpLine2WidthGet() == 1 )
{
- pLine->SetSvxBorderStyle( ::editeng::DOUBLE );
+ pLine->SetBorderLineStyle( table::BorderLineStyle::DOUBLE );
pLine->SetWidth( DEF_LINE_WIDTH_0 );
}
else