summaryrefslogtreecommitdiff
path: root/vcl/source/fontsubset/gsub.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-26 15:32:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-26 15:33:40 +0100
commit513fc2916053db5ee7ffaf9f53c271a05cef8981 (patch)
tree7f24849841f33f3e1b2737762548c8525bca780e /vcl/source/fontsubset/gsub.cxx
parent41982607d0c9b69efd5789762bbdae6c7301ee8b (diff)
const_cast: convert some C-style casts and remove some redundant ones
Change-Id: I17c57a85bcda98ef36ddefd6562d4681d0c7d5fc
Diffstat (limited to 'vcl/source/fontsubset/gsub.cxx')
-rw-r--r--vcl/source/fontsubset/gsub.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/fontsubset/gsub.cxx b/vcl/source/fontsubset/gsub.cxx
index 147cba7d735a..6ff77a44fa04 100644
--- a/vcl/source/fontsubset/gsub.cxx
+++ b/vcl/source/fontsubset/gsub.cxx
@@ -54,7 +54,7 @@ inline sal_uInt16 NEXT_UShort( const unsigned char* &p )
bool ReadGSUB( struct _TrueTypeFont* pTTFile,
int nRequestedScript, int nRequestedLangsys )
{
- const FT_Byte* pGsubBase = (FT_Byte*)pTTFile->tables[ O_gsub ];
+ const FT_Byte* pGsubBase = pTTFile->tables[ O_gsub ];
if( !pGsubBase )
return false;