From 2ccaf4eecacaa912997d71a857dd84edf5af58cf Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Dec 2019 16:58:02 +0100 Subject: loplugin:redundantcast (macOS) Change-Id: Ia514e105d913b8cf77d4fe931deb6b559b3525d3 Reviewed-on: https://gerrit.libreoffice.org/84655 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/quartz/ctfonts.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/quartz') diff --git a/vcl/quartz/ctfonts.cxx b/vcl/quartz/ctfonts.cxx index d100e03b8910..4f9657b993b4 100644 --- a/vcl/quartz/ctfonts.cxx +++ b/vcl/quartz/ctfonts.cxx @@ -257,7 +257,7 @@ static hb_blob_t* getFontTable(hb_face_t* /*face*/, hb_tag_t nTableTag, void* pU hb_font_t* CoreTextStyle::ImplInitHbFont() { - hb_face_t* pHbFace = hb_face_create_for_tables(getFontTable, const_cast(GetFontFace()), nullptr); + hb_face_t* pHbFace = hb_face_create_for_tables(getFontTable, GetFontFace(), nullptr); return InitHbFont(pHbFace); } -- cgit