diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2020-09-11 17:38:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-09-12 18:54:15 +0200 |
commit | 70666469b87ab1e3589db0f5f7a236d744e83733 (patch) | |
tree | 88ee34da282712ea32e6354be92472f5fa52f1d4 /vcl | |
parent | 8214051829468c783404faf19194b26b35833e41 (diff) |
Replace remaining uses of sal_uChar
The goal is then to remove sal_uChar completely since it's been deprecated in 2013!
See http://document-foundation-mail-archive.969070.n3.nabble.com/About-removing-long-time-deprecated-types-from-public-API-tt4287268.html
Change-Id: I1ed6a56075a47fbfeac97388432bffcbd2ef1f7b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102491
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/font/font.cxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/dibtools.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/font/font.cxx b/vcl/source/font/font.cxx index 046816510087..18f1aa0cd939 100644 --- a/vcl/source/font/font.cxx +++ b/vcl/source/font/font.cxx @@ -431,7 +431,7 @@ SvStream& WriteImplFont( SvStream& rOStm, const ImplFont& rImplFont ) rOStm.WriteUChar( static_cast<sal_uInt8>(rImplFont.meKerning) ); // new in version 2 - rOStm.WriteUChar( static_cast<sal_uChar>(rImplFont.meRelief) ); + rOStm.WriteUChar( static_cast<unsigned char>(rImplFont.meRelief) ); rOStm.WriteUInt16( static_cast<sal_uInt16>(rImplFont.maCJKLanguageTag.getLanguageType( false)) ); rOStm.WriteBool( rImplFont.mbVertical ); rOStm.WriteUInt16( static_cast<sal_uInt16>(rImplFont.meEmphasisMark) ); diff --git a/vcl/source/gdi/dibtools.cxx b/vcl/source/gdi/dibtools.cxx index f2164b94d129..df91ad1659e5 100644 --- a/vcl/source/gdi/dibtools.cxx +++ b/vcl/source/gdi/dibtools.cxx @@ -1879,7 +1879,7 @@ bool WriteDIBBitmapEx( { rOStm.WriteUInt32( 0x25091962 ); rOStm.WriteUInt32( 0xACB20201 ); - rOStm.WriteUChar( static_cast<sal_uChar>(rSource.meTransparent) ); + rOStm.WriteUChar( static_cast<unsigned char>(rSource.meTransparent) ); if(TransparentType::Bitmap == rSource.meTransparent) { |