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 /sw | |
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 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8graf.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx index 2f303bdac0e1..d3c4a102bf40 100644 --- a/sw/source/filter/ww8/ww8graf.cxx +++ b/sw/source/filter/ww8/ww8graf.cxx @@ -397,7 +397,7 @@ SdrObject* SwWW8ImplReader::ReadElipse(WW8_DPHEAD const * pHd, SfxAllItemSet &rS SdrObject* pObj = new SdrCircObj( *m_pDrawModel, - OBJ_CIRC, + SdrCircKind::Full, tools::Rectangle(aP0, aP1)); SetStdAttr( rSet, aElipse.aLnt, aElipse.aShd ); @@ -432,7 +432,7 @@ SdrObject* SwWW8ImplReader::ReadArc(WW8_DPHEAD const * pHd, SfxAllItemSet &rSet) SdrObject* pObj = new SdrCircObj( *m_pDrawModel, - OBJ_SECT, + SdrCircKind::Section, tools::Rectangle(aP0, aP1), nW * 9000, ( ( nW + 1 ) & 3 ) * 9000); |