diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 13:40:01 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 08:17:34 +0200 |
commit | ce7cdf53ae1310622bd10e60f493ba7bfab2d8e2 (patch) | |
tree | 0c391f86f84a11dc8d9ea2fdc585868e491aefef /sc/inc | |
parent | 2a9b0e435147929b4cd55ed9adf4d879e8b8a484 (diff) |
convert DrawPosMode to scoped enum
and drop unused enumerators
Change-Id: If61605d1b234664ba9264997cc3c4ec40608cc99
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/detfunc.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sc/inc/detfunc.hxx b/sc/inc/detfunc.hxx index 14fb1b19f779..553a611fe3c4 100644 --- a/sc/inc/detfunc.hxx +++ b/sc/inc/detfunc.hxx @@ -58,13 +58,11 @@ class SC_DLLPUBLIC ScDetectiveFunc ScDocument* pDoc; SCTAB nTab; - enum DrawPosMode + enum class DrawPosMode { - DRAWPOS_TOPLEFT, ///< Top-left edge of the cell. - DRAWPOS_BOTTOMRIGHT, ///< Bottom-right edge of the cell. - DRAWPOS_DETARROW, ///< Position inside cell for detective arrows. - DRAWPOS_CAPTIONLEFT, ///< Top-left edge of the cell for captions. - DRAWPOS_CAPTIONRIGHT ///< Top-right edge of the cell for captions (incl. merged cells). + TopLeft, ///< Top-left edge of the cell. + BottomRight, ///< Bottom-right edge of the cell. + DetectiveArrow, ///< Position inside cell for detective arrows. }; /** @return a drawing layer position for the passed cell address. */ |