summaryrefslogtreecommitdiff
path: root/vcl/source/font/fontcharmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/font/fontcharmap.cxx')
-rw-r--r--vcl/source/font/fontcharmap.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/font/fontcharmap.cxx b/vcl/source/font/fontcharmap.cxx
index 9c8b54682041..f8c95e796b20 100644
--- a/vcl/source/font/fontcharmap.cxx
+++ b/vcl/source/font/fontcharmap.cxx
@@ -311,7 +311,7 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
static const int NINSIZE = 64;
static const int NOUTSIZE = 64;
- sal_Char cCharsInp[ NINSIZE ];
+ char cCharsInp[ NINSIZE ];
sal_Unicode cCharsOut[ NOUTSIZE ];
sal_UCS4* pCP = pCodePairs;
for( int i = 0; i < nRangeCount; ++i )
@@ -324,9 +324,9 @@ bool ParseCMAP( const unsigned char* pCmap, int nLength, CmapResult& rResult )
for(; (cMin < cEnd) && (j < NINSIZE); ++cMin )
{
if( cMin >= 0x0100 )
- cCharsInp[ j++ ] = static_cast<sal_Char>(cMin >> 8);
+ cCharsInp[ j++ ] = static_cast<char>(cMin >> 8);
if( (cMin >= 0x0100) || (cMin < 0x00A0) )
- cCharsInp[ j++ ] = static_cast<sal_Char>(cMin);
+ cCharsInp[ j++ ] = static_cast<char>(cMin);
}
sal_uInt32 nCvtInfo;