summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-23 13:47:09 +0200
committerNoel Grandin <noel@peralex.com>2016-08-24 08:47:57 +0200
commit70d76c8165bc9393a92fa6d0dc9922364988abe2 (patch)
tree49ead767c06dfc099a5f1fbbecb2717ed4e5effa /sc
parent151752f89465ff980f9a377361eb90e4180943d3 (diff)
convert OverlayType to scoped enum
Change-Id: Ic7758ec96bdf7f532b5b95048dbb7eb5f360f74a
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/gridwin.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index dba986a8249a..94d38beb07cb 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -6034,7 +6034,7 @@ void ScGridWindow::UpdateCursorOverlay()
}
sdr::overlay::OverlayObject* pOverlay = new sdr::overlay::OverlaySelection(
- sdr::overlay::OVERLAY_SOLID,
+ sdr::overlay::OverlayType::Solid,
aCursorColor,
aRanges,
false);
@@ -6110,7 +6110,7 @@ void ScGridWindow::UpdateSelectionOverlay()
const Color aHighlight(aSvtOptionsDrawinglayer.getHilightColor());
sdr::overlay::OverlayObject* pOverlay = new sdr::overlay::OverlaySelection(
- sdr::overlay::OVERLAY_TRANSPARENT,
+ sdr::overlay::OverlayType::Transparent,
aHighlight,
aRanges,
true);
@@ -6207,7 +6207,7 @@ void ScGridWindow::UpdateAutoFillOverlay()
aRanges.push_back(aRB);
sdr::overlay::OverlayObject* pOverlay = new sdr::overlay::OverlaySelection(
- sdr::overlay::OVERLAY_SOLID,
+ sdr::overlay::OverlayType::Solid,
aHandleColor,
aRanges,
false);
@@ -6334,7 +6334,7 @@ void ScGridWindow::UpdateDragRectOverlay()
}
sdr::overlay::OverlayObject* pOverlay = new sdr::overlay::OverlaySelection(
- sdr::overlay::OVERLAY_INVERT,
+ sdr::overlay::OverlayType::Invert,
Color(COL_BLACK),
aRanges,
false);
@@ -6380,7 +6380,7 @@ void ScGridWindow::UpdateHeaderOverlay()
aRanges.push_back(aRB);
sdr::overlay::OverlayObject* pOverlay = new sdr::overlay::OverlaySelection(
- sdr::overlay::OVERLAY_INVERT,
+ sdr::overlay::OverlayType::Invert,
Color(COL_BLACK),
aRanges,
false);
@@ -6447,7 +6447,7 @@ void ScGridWindow::UpdateShrinkOverlay()
aRanges.push_back(aRB);
sdr::overlay::OverlayObject* pOverlay = new sdr::overlay::OverlaySelection(
- sdr::overlay::OVERLAY_INVERT,
+ sdr::overlay::OverlayType::Invert,
Color(COL_BLACK),
aRanges,
false);