summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-25 09:47:29 +0200
committerNoel Grandin <noel@peralex.com>2015-03-25 09:47:29 +0200
commit9110d8724d0af5e8a0a148096ce67c1d5a721f98 (patch)
tree22849e7f0661133fc79a7e5c9948a9b3d4ac9b62 /sd
parentc7c0723dd97e278edeb7686d350ffe6d8706ed66 (diff)
convert EE_STAT constants to enum class
Change-Id: I2967cdbfd0303844892150bbff7aa5ce1a57054f
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/drawdoc4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 7543c77243d1..48ac39eb684d 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -959,8 +959,8 @@ void SdDrawDocument::RemoveObject(SdrObject* pObj, SdPage* /*pPage*/)
// Callback for ExecuteSpellPopup()
IMPL_LINK(SdDrawDocument, OnlineSpellEventHdl, EditStatus*, pEditStat)
{
- sal_uLong nStat = pEditStat->GetStatusWord();
- mbHasOnlineSpellErrors = (nStat & EE_STAT_WRONGWORDCHANGED) != 0;
+ EditStatusFlags nStat = pEditStat->GetStatusWord();
+ mbHasOnlineSpellErrors = bool(nStat & EditStatusFlags::WRONGWORDCHANGED);
return 0;
}