diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 11:56:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 12:30:39 +0200 |
commit | 917d34657ae195edaef411b5446f70346cabf9e2 (patch) | |
tree | 91ee0ebaf52777b5ed6692ab8f9696e16db15d15 /sc/source/filter/inc | |
parent | e5c38f639014b53f454e51b1087b1dcc0d8508f5 (diff) |
convert CellAnchorType to scoped enum
and drop unused COLROW enumerator
Change-Id: Idf9c978252a1bd5801e0d18ea339f7c27508734b
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r-- | sc/source/filter/inc/drawingbase.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/filter/inc/drawingbase.hxx b/sc/source/filter/inc/drawingbase.hxx index c0682dae8025..ff2ca068e64d 100644 --- a/sc/source/filter/inc/drawingbase.hxx +++ b/sc/source/filter/inc/drawingbase.hxx @@ -110,11 +110,10 @@ private: private: /** Specifies how cell positions from CellAnchorModel have to be processed. */ - enum CellAnchorType + enum class CellAnchorType { - CELLANCHOR_EMU, /// Offsets are given in EMUs. - CELLANCHOR_PIXEL, /// Offsets are given in screen pixels. - CELLANCHOR_COLROW /// Offsets are given in fractions of column width or row height. + Emu, /// Offsets are given in EMUs. + Pixel, /// Offsets are given in screen pixels. }; AnchorType meAnchorType; /// Type of this shape anchor. |