diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 65ebbdd4b152..12df505ffb71 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -3896,8 +3896,6 @@ bool D2DWriteTextOutRenderer::ReleaseFont() // baseline, and +ve means the ink starts that many pixels below. std::vector D2DWriteTextOutRenderer::GetGlyphInkBoxes(uint16_t * pGid, uint16_t * pGidEnd) const { - Rectangle aExtent; - Point aPos; ptrdiff_t nGlyphs = pGidEnd - pGid; if (nGlyphs < 0) return std::vector();