diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-30 11:20:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-01 09:36:19 +0200 |
commit | 4b66829390b286010b37b37ec1537a320d8cea8f (patch) | |
tree | e3070f55a80dd8d6f5944db4594608865d0fbbcc /sc/source/filter/lotus | |
parent | 427ef167e1a49ba7fcdef082de43622e02a84ce5 (diff) |
convert BOX_LINE and BOXINFO_LINE to enum class
since their usage is intertwined.
Also introduce new o3tl utilities enumrange and enumarray to make
working with scoped enums a little simpler.
Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
Diffstat (limited to 'sc/source/filter/lotus')
-rw-r--r-- | sc/source/filter/lotus/lotattr.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/lotus/lotattr.cxx b/sc/source/filter/lotus/lotattr.cxx index ec1071219025..9444d9cba035 100644 --- a/sc/source/filter/lotus/lotattr.cxx +++ b/sc/source/filter/lotus/lotattr.cxx @@ -119,10 +119,10 @@ const ScPatternAttr& LotAttrCache::GetPattAttr( const LotAttrWK3& rAttr ) nLine >>= 2; LotusToScBorderLine( nLine, aBottom ); - aBox.SetLine( &aTop, BOX_LINE_TOP ); - aBox.SetLine( &aLeft, BOX_LINE_LEFT ); - aBox.SetLine( &aBottom, BOX_LINE_BOTTOM ); - aBox.SetLine( &aRight, BOX_LINE_RIGHT ); + aBox.SetLine( &aTop, SvxBoxItemLine::TOP ); + aBox.SetLine( &aLeft, SvxBoxItemLine::LEFT ); + aBox.SetLine( &aBottom, SvxBoxItemLine::BOTTOM ); + aBox.SetLine( &aRight, SvxBoxItemLine::RIGHT ); rItemSet.Put( aBox ); } |