summaryrefslogtreecommitdiff
path: root/starmath/source/accessibility.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-26 16:03:06 +0200
committerNoel Grandin <noel@peralex.com>2015-03-27 08:33:45 +0200
commitaff09b486f26fa58a4f26a52e2b26286811d2441 (patch)
tree79aa3f0463e7024b8189455a9906422008f57113 /starmath/source/accessibility.cxx
parent9bccd26037188f20fec244bede3022900d1b96fa (diff)
convert GETATTRIBS_ constants to enum class
Change-Id: I236caa9e2dc80455198b442e72e8d9df58f03adc
Diffstat (limited to 'starmath/source/accessibility.cxx')
-rw-r--r--starmath/source/accessibility.cxx8
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");