From 2f43642d5c6cc9662a1f7f50bf215609cee1f634 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 13 Oct 2020 17:28:44 +0200 Subject: loplugin:unreffun (clang-cl) Change-Id: I9e478c71662aa5a5347d11adae0435e737fced82 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104247 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- vcl/win/gdi/salfont.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'vcl') diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 0d7930d20e71..ea8bccfdd1f4 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -1546,7 +1546,6 @@ public: SFErrCodes open(void const * pBuffer, sal_uInt32 nLen, sal_uInt32 nFaceNum, const FontCharMapRef xCharMap = nullptr); TrueTypeFont * get() const { return m_pFont; } - TrueTypeFont* operator->() { return m_pFont; } private: TrueTypeFont * m_pFont; -- cgit v1.2.3