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, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx
index 5655785345f7..3aed82d2e6ac 100644
--- a/vcl/win/gdi/winlayout.cxx
+++ b/vcl/win/gdi/winlayout.cxx
@@ -3474,7 +3474,7 @@ bool D2DWriteTextOutRenderer::operator ()(SalLayout const &rLayout, HDC hDC,
DWRITE_GLYPH_OFFSET glyphOffsets[MAX_GLYPHS] = { { 0.0f, 0.0f }, };
bool bVertical = false;
- double nYDiff = 0.0f;
+ float nYDiff = 0.0f;
const CommonSalLayout* pCSL = dynamic_cast<const CommonSalLayout*>(&rLayout);
if (pCSL)
bVertical = pCSL->getFontSelData().mbVertical;