diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-09-10 22:15:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-11 09:09:35 +0200 |
commit | e83201a5fcfa7470cdad76c93c497e71b1caa7f4 (patch) | |
tree | 7e242be8e4d140b306148df1e166da22233a3206 /svtools/source/svhtml | |
parent | 51f4691e7f4f3bceac1d5ec9cbbf37de7e71e471 (diff) |
convert IMAP_OBJ to scoped enum
Change-Id: Id265c098a173b2daf581568779d99c7574f067c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102406
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/svhtml')
-rw-r--r-- | svtools/source/svhtml/htmlout.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/svhtml/htmlout.cxx b/svtools/source/svhtml/htmlout.cxx index 20d06954fdc7..300818e665ad 100644 --- a/svtools/source/svhtml/htmlout.cxx +++ b/svtools/source/svhtml/htmlout.cxx @@ -645,7 +645,7 @@ SvStream& HTMLOutFuncs::Out_ImageMap( SvStream& rStream, OString aCoords; switch( pObj->GetType() ) { - case IMAP_OBJ_RECTANGLE: + case IMapObjectType::Rectangle: { const IMapRectangleObject* pRectObj = static_cast<const IMapRectangleObject *>(pObj); @@ -663,7 +663,7 @@ SvStream& HTMLOutFuncs::Out_ImageMap( SvStream& rStream, .makeStringAndClear(); } break; - case IMAP_OBJ_CIRCLE: + case IMapObjectType::Circle: { const IMapCircleObject* pCirc = static_cast<const IMapCircleObject *>(pObj); @@ -680,7 +680,7 @@ SvStream& HTMLOutFuncs::Out_ImageMap( SvStream& rStream, .makeStringAndClear(); } break; - case IMAP_OBJ_POLYGON: + case IMapObjectType::Polygon: { const IMapPolygonObject* pPolyObj = static_cast<const IMapPolygonObject *>(pObj); |