diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-26 16:03:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-27 08:33:45 +0200 |
commit | aff09b486f26fa58a4f26a52e2b26286811d2441 (patch) | |
tree | 79aa3f0463e7024b8189455a9906422008f57113 /starmath/source | |
parent | 9bccd26037188f20fec244bede3022900d1b96fa (diff) |
convert GETATTRIBS_ constants to enum class
Change-Id: I236caa9e2dc80455198b442e72e8d9df58f03adc
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/accessibility.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/accessibility.cxx b/starmath/source/accessibility.cxx index cd6c58704140..f3a9b276acdd 100644 --- a/starmath/source/accessibility.cxx +++ b/starmath/source/accessibility.cxx @@ -983,17 +983,17 @@ SfxItemSet SmTextForwarder::GetAttribs( const ESelection& rSel, EditEngineAttrib OSL_ENSURE( pEditEngine, "EditEngine missing" ); if( rSel.nStartPara == rSel.nEndPara ) { - sal_uInt8 nFlags = 0; + GetAttribsFlags nFlags = GetAttribsFlags::NONE; switch( nOnlyHardAttrib ) { case EditEngineAttribs_All: - nFlags = GETATTRIBS_ALL; + nFlags = GetAttribsFlags::ALL; break; case EditEngineAttribs_HardAndPara: - nFlags = GETATTRIBS_PARAATTRIBS|GETATTRIBS_CHARATTRIBS; + nFlags = GetAttribsFlags::PARAATTRIBS|GetAttribsFlags::CHARATTRIBS; break; case EditEngineAttribs_OnlyHard: - nFlags = GETATTRIBS_CHARATTRIBS; + nFlags = GetAttribsFlags::CHARATTRIBS; break; default: SAL_WARN("starmath", "unknown flags for SmTextForwarder::GetAttribs"); |