diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 13:24:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 15:42:34 +0200 |
commit | 4f55dfb564e56515b6ebb4d10b089f67ad628fb6 (patch) | |
tree | a0a64cff53868567020bc817bc1c5691567071f1 /sc/source | |
parent | ec366658fcad31165ec6771b397f50cd9a2ffc2c (diff) |
convert AX_FONTDATA constants to scoped enum
Change-Id: I0de365c8f654973f483d09fc9170f40bda7cbd9e
Reviewed-on: https://gerrit.libreoffice.org/36457
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/filter/oox/drawingfragment.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/oox/drawingfragment.cxx b/sc/source/filter/oox/drawingfragment.cxx index d22c06163240..6f34a89c3c54 100644 --- a/sc/source/filter/oox/drawingfragment.cxx +++ b/sc/source/filter/oox/drawingfragment.cxx @@ -735,10 +735,10 @@ void VmlDrawing::convertControlText( AxFontData& rAxFontData, sal_uInt32& rnOleT switch( nTextHAlign ) { - case XML_Left: rAxFontData.mnHorAlign = AX_FONTDATA_LEFT; break; - case XML_Center: rAxFontData.mnHorAlign = AX_FONTDATA_CENTER; break; - case XML_Right: rAxFontData.mnHorAlign = AX_FONTDATA_RIGHT; break; - default: rAxFontData.mnHorAlign = AX_FONTDATA_LEFT; + case XML_Left: rAxFontData.mnHorAlign = AxHorizontalAlign::Left; break; + case XML_Center: rAxFontData.mnHorAlign = AxHorizontalAlign::Center; break; + case XML_Right: rAxFontData.mnHorAlign = AxHorizontalAlign::Right; break; + default: rAxFontData.mnHorAlign = AxHorizontalAlign::Left; } } |