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 /svx/source | |
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 'svx/source')
-rw-r--r-- | svx/source/dialog/imapwnd.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/dialog/imapwnd.cxx b/svx/source/dialog/imapwnd.cxx index 65d2c95ea6a6..51fee17c8ce6 100644 --- a/svx/source/dialog/imapwnd.cxx +++ b/svx/source/dialog/imapwnd.cxx @@ -183,7 +183,7 @@ SdrObject* IMapWindow::CreateObj( const IMapObject* pIMapObj ) switch( pIMapObj->GetType() ) { - case IMAP_OBJ_RECTANGLE: + case IMapObjectType::Rectangle: { const IMapRectangleObject* pIMapRectObj = static_cast<const IMapRectangleObject*>(pIMapObj); tools::Rectangle aDrawRect( pIMapRectObj->GetRectangle( false ) ); @@ -196,7 +196,7 @@ SdrObject* IMapWindow::CreateObj( const IMapObject* pIMapObj ) } break; - case IMAP_OBJ_CIRCLE: + case IMapObjectType::Circle: { const IMapCircleObject* pIMapCircleObj = static_cast<const IMapCircleObject*>(pIMapObj); const Point aCenter( pIMapCircleObj->GetCenter( false ) ); @@ -217,7 +217,7 @@ SdrObject* IMapWindow::CreateObj( const IMapObject* pIMapObj ) } break; - case IMAP_OBJ_POLYGON: + case IMapObjectType::Polygon: { const IMapPolygonObject* pIMapPolyObj = static_cast<const IMapPolygonObject*>(pIMapObj); |