diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 09:28:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-21 10:34:13 +0000 |
commit | 735a002507e914bc0c35504a85dc0585b25b76ce (patch) | |
tree | acd91105fa2d9128cc10b7f2118cef23b8015921 /sd/source/ui/unoidl/DrawController.cxx | |
parent | c95293de347597bb32d3c4aa5429b21385cae97a (diff) |
convert EnumContext::Context to scoped enum
Change-Id: I16ec63beb801073e5d604d852892c2fd6e8d8fc3
Reviewed-on: https://gerrit.libreoffice.org/32272
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/unoidl/DrawController.cxx')
-rw-r--r-- | sd/source/ui/unoidl/DrawController.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sd/source/ui/unoidl/DrawController.cxx b/sd/source/ui/unoidl/DrawController.cxx index a34d55b15092..446cad75ba2f 100644 --- a/sd/source/ui/unoidl/DrawController.cxx +++ b/sd/source/ui/unoidl/DrawController.cxx @@ -510,37 +510,37 @@ void DrawController::BroadcastContextChange() const if ( ! pViewShell) return; - EnumContext::Context eContext (EnumContext::Context_Unknown); + EnumContext::Context eContext (EnumContext::Context::Unknown); switch (pViewShell->GetShellType()) { case ViewShell::ST_IMPRESS: case ViewShell::ST_DRAW: if (mbMasterPageMode) - eContext = EnumContext::Context_MasterPage; + eContext = EnumContext::Context::MasterPage; else - eContext = EnumContext::Context_DrawPage; + eContext = EnumContext::Context::DrawPage; break; case ViewShell::ST_NOTES: - eContext = EnumContext::Context_NotesPage; + eContext = EnumContext::Context::NotesPage; break; case ViewShell::ST_HANDOUT: - eContext = EnumContext::Context_HandoutPage; + eContext = EnumContext::Context::HandoutPage; break; case ViewShell::ST_OUTLINE: - eContext = EnumContext::Context_OutlineText; + eContext = EnumContext::Context::OutlineText; break; case ViewShell::ST_SLIDE_SORTER: - eContext = EnumContext::Context_SlidesorterPage; + eContext = EnumContext::Context::SlidesorterPage; break; case ViewShell::ST_PRESENTATION: case ViewShell::ST_NONE: default: - eContext = EnumContext::Context_Empty; + eContext = EnumContext::Context::Empty; break; } |