vcl/win/gdi/salfont.cxx | 8 -------- 1 file changed, 8 deletions(-) New commits: commit 674e4b01b0d95dc4fe364ee483693557a71ae9ef Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Tue May 18 14:41:28 2021 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Wed May 19 07:25:31 2021 +0200
-Werror,-Wunused-function (clang-cl) ...since 5686c1aca40beb9514d40c86b4a3780a8a1334ba "vcl: use DWriteTextRenderer for vertical writing." Change-Id: Ia215fb10f9b39fc41f16b6568ce9f461f78f1df4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115745 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/vcl/win/gdi/salfont.cxx b/vcl/win/gdi/salfont.cxx index 473f743d3cee..2830d6048590 100644 --- a/vcl/win/gdi/salfont.cxx +++ b/vcl/win/gdi/salfont.cxx @@ -760,14 +760,6 @@ void WinSalGraphics::SetTextColor( Color nColor ) ::SetTextColor( getHDC(), aCol ); } -static int CALLBACK SalEnumQueryFontProcExW( const LOGFONTW*, - const TEXTMETRICW*, - DWORD, LPARAM lParam ) -{ - *reinterpret_cast<bool*>(lParam) = true; - return 0; -} - void ImplGetLogFontFromFontSelect( const FontSelectPattern& rFont, const PhysicalFontFace* pFontFace, LOGFONTW& rLogFont ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits