diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:42 +0200 |
commit | b8d977c0178f8ac4ee299722d50c1481a15b45c8 (patch) | |
tree | 6cd8560661bb8b713e4373379052e85ab30598dd /svl | |
parent | 80d2fa87fdaf67615d7b8128f3c05b239a1f1c05 (diff) |
convert CharCompressType to scoped enum
and move it to svl, where it belongs
Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/config/asiancfg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/config/asiancfg.cxx b/svl/source/config/asiancfg.cxx index 209771a15720..3e77bc6ff14d 100644 --- a/svl/source/config/asiancfg.cxx +++ b/svl/source/config/asiancfg.cxx @@ -87,15 +87,15 @@ void SvxAsianConfig::SetKerningWesternTextOnly(bool value) { value, impl_->batch); } -sal_Int16 SvxAsianConfig::GetCharDistanceCompression() const { - return +CharCompressType SvxAsianConfig::GetCharDistanceCompression() const { + return (CharCompressType) officecfg::Office::Common::AsianLayout::CompressCharacterDistance::get( impl_->context); } -void SvxAsianConfig::SetCharDistanceCompression(sal_Int16 value) { +void SvxAsianConfig::SetCharDistanceCompression(CharCompressType value) { officecfg::Office::Common::AsianLayout::CompressCharacterDistance::set( - value, impl_->batch); + (sal_uInt16)value, impl_->batch); } css::uno::Sequence< css::lang::Locale > SvxAsianConfig::GetStartEndCharLocales() |