diff options
Diffstat (limited to 'sw/source/ui/utlui/uiitems.cxx')
-rw-r--r-- | sw/source/ui/utlui/uiitems.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/ui/utlui/uiitems.cxx b/sw/source/ui/utlui/uiitems.cxx index 2503ca4850ea..3507b8b6ee2c 100644 --- a/sw/source/ui/utlui/uiitems.cxx +++ b/sw/source/ui/utlui/uiitems.cxx @@ -143,10 +143,10 @@ bool SwPageFtnInfoItem::QueryValue( Any& rVal, sal_uInt8 nMemberId ) const switch ( aFtnInfo.GetLineStyle( ) ) { default: - case ::editeng::NO_STYLE: rVal <<= sal_Int8( 0 ); break; - case ::editeng::SOLID: rVal <<= sal_Int8( 1 ); break; - case ::editeng::DOTTED: rVal <<= sal_Int8( 2 ); break; - case ::editeng::DASHED: rVal <<= sal_Int8( 3 ); break; + case table::BorderLineStyle::NONE : rVal <<= sal_Int8(0); break; + case table::BorderLineStyle::SOLID: rVal <<= sal_Int8(1); break; + case table::BorderLineStyle::DOTTED: rVal <<= sal_Int8(2); break; + case table::BorderLineStyle::DASHED: rVal <<= sal_Int8(3); break; } break; } @@ -214,14 +214,14 @@ bool SwPageFtnInfoItem::PutValue(const Any& rVal, sal_uInt8 nMemberId) } case MID_FTN_LINE_STYLE: { - ::editeng::SvxBorderStyle eStyle = ::editeng::NO_STYLE; + ::editeng::SvxBorderStyle eStyle = table::BorderLineStyle::NONE; sal_Int8 nSet = 0; rVal >>= nSet; switch ( nSet ) { - case 1: eStyle = ::editeng::SOLID; break; - case 2: eStyle = ::editeng::DOTTED; break; - case 3: eStyle = ::editeng::DASHED; break; + case 1: eStyle = table::BorderLineStyle::SOLID; break; + case 2: eStyle = table::BorderLineStyle::DOTTED; break; + case 3: eStyle = table::BorderLineStyle::DASHED; break; default: break; } aFtnInfo.SetLineStyle( eStyle ); |