summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/SelectionAnalyzer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 10:03:42 +0200
committerNoel Grandin <noel@peralex.com>2016-08-24 08:47:57 +0200
commitc33a1d47de07c327013979b1165f72298eaded45 (patch)
tree593a7cbf57f9c59bbea42d25bed622012ced1ee1 /svx/source/sidebar/SelectionAnalyzer.cxx
parentf72baec784e9956702c429b8464c6d1b624e5481 (diff)
convert ViewType to scoped enum
Change-Id: I4904ceae765f3452d8695adcf73043a4a42bbf0b
Diffstat (limited to 'svx/source/sidebar/SelectionAnalyzer.cxx')
-rw-r--r--svx/source/sidebar/SelectionAnalyzer.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/svx/source/sidebar/SelectionAnalyzer.cxx b/svx/source/sidebar/SelectionAnalyzer.cxx
index df468fb72a03..abba1f998c69 100644
--- a/svx/source/sidebar/SelectionAnalyzer.cxx
+++ b/svx/source/sidebar/SelectionAnalyzer.cxx
@@ -103,19 +103,19 @@ EnumContext::Context SelectionAnalyzer::GetContextForSelection_SD (
case 0:
switch(eViewType)
{
- case VT_Standard:
+ case ViewType::Standard:
eContext = EnumContext::Context_DrawPage;
break;
- case VT_Master:
+ case ViewType::Master:
eContext = EnumContext::Context_MasterPage;
break;
- case VT_Handout:
+ case ViewType::Handout:
eContext = EnumContext::Context_HandoutPage;
break;
- case VT_Notes:
+ case ViewType::Notes:
eContext = EnumContext::Context_NotesPage;
break;
- case VT_Outline:
+ case ViewType::Outline:
eContext = EnumContext::Context_OutlineText;
break;
}
@@ -289,11 +289,11 @@ EnumContext::Context SelectionAnalyzer::GetContextForObjectId_SD (
case OBJ_PAGE:
switch (eViewType)
{
- case VT_Handout:
+ case ViewType::Handout:
return EnumContext::Context_HandoutPage;
- case VT_Notes:
+ case ViewType::Notes:
return EnumContext::Context_NotesPage;
- case VT_Outline:
+ case ViewType::Outline:
return EnumContext::Context_OutlineText;
default:
return EnumContext::Context_Unknown;