diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index e9522835a8f1..025e273ef272 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -116,7 +116,7 @@ CoreTextFontFace::~CoreTextFontFace() sal_IntPtr CoreTextFontFace::GetFontId() const { - return static_cast(mnFontId); + return mnFontId; } const FontCharMapRef CoreTextFontFace::GetFontCharMap() const