summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-13 08:17:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-13 08:17:42 +0200
commitb8d977c0178f8ac4ee299722d50c1481a15b45c8 (patch)
tree6cd8560661bb8b713e4373379052e85ab30598dd /sd/source
parent80d2fa87fdaf67615d7b8128f3c05b239a1f1c05 (diff)
convert CharCompressType to scoped enum
and move it to svl, where it belongs Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index 33261327487a..aacfa2b133c8 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -812,19 +812,19 @@ DocumentSettings::_setPropertyValues(const PropertyMapEntry** ppEntries,
{
bOk = true;
- pDoc->SetCharCompressType( (sal_uInt16)nCharCompressType );
+ pDoc->SetCharCompressType( (CharCompressType)nCharCompressType );
SdDrawDocument* pDocument = pDocSh->GetDoc();
SdrOutliner& rOutl = pDocument->GetDrawOutliner();
- rOutl.SetAsianCompressionMode( (sal_uInt16)nCharCompressType );
+ rOutl.SetAsianCompressionMode( (CharCompressType)nCharCompressType );
SdOutliner* pOutl = pDocument->GetOutliner( false );
if( pOutl )
{
- pOutl->SetAsianCompressionMode( (sal_uInt16)nCharCompressType );
+ pOutl->SetAsianCompressionMode( (CharCompressType)nCharCompressType );
}
pOutl = pDocument->GetInternalOutliner( false );
if( pOutl )
{
- pOutl->SetAsianCompressionMode( (sal_uInt16)nCharCompressType );
+ pOutl->SetAsianCompressionMode( (CharCompressType)nCharCompressType );
}
}
break;