diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-25 15:05:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-26 09:41:35 +0200 |
commit | 701343b1eea115e27a40ac93e59c0c1f0d2f6422 (patch) | |
tree | 61a6d000266018650e97b016288b7a474b89ad73 /editeng | |
parent | 44101b295071484f4797a9d3140e5ea1a42bc431 (diff) |
convert SvxNumRuleType to enum class
Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/items/numitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx index 6d4fd8aa7d98..0e4e0f8d3ecf 100644 --- a/editeng/source/items/numitem.cxx +++ b/editeng/source/items/numitem.cxx @@ -682,7 +682,7 @@ SvStream& SvxNumRule::Store( SvStream &rStream ) //first save of nFeatureFlags for old versions rStream.WriteUInt16( static_cast<sal_uInt16>(nFeatureFlags) ); rStream.WriteUInt16( sal_uInt16(bContinuousNumbering) ); - rStream.WriteUInt16( eNumberingType ); + rStream.WriteUInt16( static_cast<sal_uInt16>(eNumberingType) ); FontToSubsFontConverter pConverter = 0; bool bConvertBulletFont = ( rStream.GetVersion() <= SOFFICE_FILEFORMAT_50 ) && ( rStream.GetVersion() ); @@ -782,7 +782,7 @@ const SvxNumberFormat& SvxNumRule::GetLevel(sal_uInt16 nLevel)const DBG_ASSERT(nLevel < SVX_MAX_NUM, "Wrong Level" ); return ( ( nLevel < SVX_MAX_NUM ) && aFmts[nLevel] ) ? - *aFmts[nLevel] : eNumberingType == SVX_RULETYPE_NUMBERING ? + *aFmts[nLevel] : eNumberingType == SvxNumRuleType::NUMBERING ? *pStdNumFmt : *pStdOutlineNumFmt; } |