summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/gdi/winlayout.cxx2
1 files changed, 0 insertions, 2 deletions
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<Rectangle> D2DWriteTextOutRenderer::GetGlyphInkBoxes(uint16_t * pGid, uint16_t * pGidEnd) const
{
- Rectangle aExtent;
- Point aPos;
ptrdiff_t nGlyphs = pGidEnd - pGid;
if (nGlyphs < 0) return std::vector<Rectangle>();