diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 10:55:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 18:41:57 +0200 |
commit | bbd500e14fce92b27cfc09e7cffd346e36eb5fb0 (patch) | |
tree | 40f3766253cb9ef505d4113ee3c5f4d9d3823052 /sc/source/filter/excel | |
parent | 97710225f015c8716c80e55ecdb78832f2edc731 (diff) |
use SdrCircKind enum more widely
and make it a scoped enum
Change-Id: I6325ff86ff8566135f6d01a576c659539dcb3ed9
Reviewed-on: https://gerrit.libreoffice.org/78176
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/excel')
-rw-r--r-- | sc/source/filter/excel/xiescher.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 610c6983cc4a..0866ca17a20d 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -1247,7 +1247,7 @@ SdrObjectUniquePtr XclImpOvalObj::DoCreateSdrObj( XclImpDffConverter& rDffConv, SdrObjectUniquePtr xSdrObj( new SdrCircObj( *GetDoc().GetDrawLayer(), - OBJ_CIRC, + SdrCircKind::Full, rAnchorRect)); ConvertRectStyle( *xSdrObj ); rDffConv.Progress(); @@ -1319,7 +1319,7 @@ SdrObjectUniquePtr XclImpArcObj::DoCreateSdrObj( XclImpDffConverter& rDffConv, c aNewRect.AdjustTop( -(rAnchorRect.GetHeight()) ); break; } - SdrObjKind eObjKind = maFillData.IsFilled() ? OBJ_SECT : OBJ_CARC; + SdrCircKind eObjKind = maFillData.IsFilled() ? SdrCircKind::Section : SdrCircKind::Arc; SdrObjectUniquePtr xSdrObj( new SdrCircObj( *GetDoc().GetDrawLayer(), |