[Libreoffice-commits] core.git: vcl/quartz
Tor Lillqvist
tml at collabora.com
Fri Jun 29 09:54:14 UTC 2018
vcl/quartz/salgdi.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 35189d1ebf74e88bd349eaaebc23b78e6fceee56
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jun 29 09:45:25 2018 +0300
This cast seems completely unnecessary to me?
Change-Id: I93a135afc1402d9095828c4d41d669471a37f565
Reviewed-on: https://gerrit.libreoffice.org/56661
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Jenkins
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<sal_IntPtr>(mnFontId);
+ return mnFontId;
}
const FontCharMapRef CoreTextFontFace::GetFontCharMap() const
More information about the Libreoffice-commits
mailing list