diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-07 14:39:38 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-08 09:04:30 +0000 |
commit | 9cacb6ad9f5a012bc892cf9893cd8d37a2a5f304 (patch) | |
tree | 2823ae9c68c743ed658cae8b064fa91f9772007d /editeng/source/rtf | |
parent | 145accd9a5b55070959d40c9314d870dffa5e4bc (diff) |
convert SvxCaseMap to scoped enum
Change-Id: Iea77ddc21e9b2d5a021c08e323da9ccabf9d46bd
Reviewed-on: https://gerrit.libreoffice.org/34963
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/rtf')
-rw-r--r-- | editeng/source/rtf/rtfitem.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/rtf/rtfitem.cxx b/editeng/source/rtf/rtfitem.cxx index 8b8fb4330dac..b2085cacebf5 100644 --- a/editeng/source/rtf/rtfitem.cxx +++ b/editeng/source/rtf/rtfitem.cxx @@ -554,11 +554,11 @@ SET_FONTALIGNMENT: { SvxCaseMap eCaseMap; if( !nTokenValue ) - eCaseMap = SVX_CASEMAP_NOT_MAPPED; + eCaseMap = SvxCaseMap::NotMapped; else if( RTF_CAPS == nToken ) - eCaseMap = SVX_CASEMAP_VERSALIEN; + eCaseMap = SvxCaseMap::Uppercase; else - eCaseMap = SVX_CASEMAP_KAPITAELCHEN; + eCaseMap = SvxCaseMap::SmallCaps; pSet->Put( SvxCaseMapItem( eCaseMap, aPlainMap.nCaseMap )); } |