summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-29 09:45:25 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-29 11:53:49 +0200
commit35189d1ebf74e88bd349eaaebc23b78e6fceee56 (patch)
treef8dfb8e5d20b76331e047fd22d511472e380218b
parentab1bba8de47aa0ca1ba49f1624358558400b2b26 (diff)
This cast seems completely unnecessary to me?
Change-Id: I93a135afc1402d9095828c4d41d669471a37f565 Reviewed-on: https://gerrit.libreoffice.org/56661 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins
-rw-r--r--vcl/quartz/salgdi.cxx2
1 files changed, 1 insertions, 1 deletions
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