diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-03 21:26:13 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-04 17:55:45 +0200 |
commit | 8b4593948582c3b5b3d013bd751bb19ffd37a31b (patch) | |
tree | d12df351290b85abc5b55440106560aca3bad8e8 /sc/source/filter/excel/xistyle.cxx | |
parent | 8dd6a23b6b44902d1c1ae4e24360463ffcf1015d (diff) |
replace enum SvxBorderStyle with css::table::BorderLineSyle
Change-Id: I1dadb53f46b23f92d34061ef78dda872bdbcda67
Diffstat (limited to 'sc/source/filter/excel/xistyle.cxx')
-rw-r--r-- | sc/source/filter/excel/xistyle.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sc/source/filter/excel/xistyle.cxx b/sc/source/filter/excel/xistyle.cxx index 7c146cbc088b..b6ecf6d1e873 100644 --- a/sc/source/filter/excel/xistyle.cxx +++ b/sc/source/filter/excel/xistyle.cxx @@ -896,20 +896,20 @@ bool lclConvertBorderLine( ::editeng::SvxBorderLine& rLine, const XclImpPalette& static const sal_uInt16 ppnLineParam[][ 4 ] = { // outer width, type - { 0, ::editeng::SOLID }, // 0 = none - { EXC_BORDER_THIN, ::editeng::SOLID }, // 1 = thin - { EXC_BORDER_MEDIUM, ::editeng::SOLID }, // 2 = medium - { EXC_BORDER_THIN, ::editeng::DASHED }, // 3 = dashed - { EXC_BORDER_THIN, ::editeng::DOTTED }, // 4 = dotted - { EXC_BORDER_THICK, ::editeng::SOLID }, // 5 = thick - { EXC_BORDER_THIN, ::editeng::DOUBLE }, // 6 = double - { EXC_BORDER_HAIR, ::editeng::SOLID }, // 7 = hair - { EXC_BORDER_MEDIUM, ::editeng::DASHED }, // 8 = med dash - { EXC_BORDER_THIN, ::editeng::SOLID }, // 9 = thin dashdot - { EXC_BORDER_MEDIUM, ::editeng::SOLID }, // A = med dashdot - { EXC_BORDER_THIN, ::editeng::SOLID }, // B = thin dashdotdot - { EXC_BORDER_MEDIUM, ::editeng::SOLID }, // C = med dashdotdot - { EXC_BORDER_MEDIUM, ::editeng::SOLID } // D = med slant dashdot + { 0, table::BorderLineStyle::SOLID }, // 0 = none + { EXC_BORDER_THIN, table::BorderLineStyle::SOLID }, // 1 = thin + { EXC_BORDER_MEDIUM, table::BorderLineStyle::SOLID }, // 2 = medium + { EXC_BORDER_THIN, table::BorderLineStyle::DASHED }, // 3 = dashed + { EXC_BORDER_THIN, table::BorderLineStyle::DOTTED }, // 4 = dotted + { EXC_BORDER_THICK, table::BorderLineStyle::SOLID }, // 5 = thick + { EXC_BORDER_THIN, table::BorderLineStyle::DOUBLE }, // 6 = double + { EXC_BORDER_HAIR, table::BorderLineStyle::SOLID }, // 7 = hair + { EXC_BORDER_MEDIUM, table::BorderLineStyle::DASHED }, // 8 = med dash + { EXC_BORDER_THIN, table::BorderLineStyle::SOLID }, // 9 = thin dashdot + { EXC_BORDER_MEDIUM, table::BorderLineStyle::SOLID }, // A = med dashdot + { EXC_BORDER_THIN, table::BorderLineStyle::SOLID }, // B = thin dashdotdot + { EXC_BORDER_MEDIUM, table::BorderLineStyle::SOLID }, // C = med dashdotdot + { EXC_BORDER_MEDIUM, table::BorderLineStyle::SOLID } // D = med slant dashdot }; if( nXclLine == EXC_LINE_NONE ) @@ -919,7 +919,7 @@ bool lclConvertBorderLine( ::editeng::SvxBorderLine& rLine, const XclImpPalette& rLine.SetColor( rPalette.GetColor( nXclColor ) ); rLine.SetWidth( ppnLineParam[ nXclLine ][ 0 ] ); - rLine.SetSvxBorderStyle( static_cast< ::editeng::SvxBorderStyle>( + rLine.SetBorderLineStyle( static_cast< ::editeng::SvxBorderStyle>( ppnLineParam[ nXclLine ][ 1 ]) ); return true; } |