[Libreoffice-commits] core.git: vcl/win
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 19 05:26:48 UTC 2021
vcl/win/gdi/salfont.cxx | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 674e4b01b0d95dc4fe364ee483693557a71ae9ef
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue May 18 14:41:28 2021 +0200
Commit: Stephan Bergmann <sbergman at 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 <sbergman at 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 )
More information about the Libreoffice-commits
mailing list